23#include <knp/core/impexp.h>
46 const std::filesystem::path &path_to_json,
const knp::core::UID &uid,
bool strict_format =
true);
56 const std::vector<core::messaging::SpikeMessage> &messages,
const std::filesystem::path &path_to_save);
Common header for messaging.
KNP_DECLSPEC void save_messages_to_json(const std::vector< core::messaging::SpikeMessage > &messages, const std::filesystem::path &path_to_save)
Save a vector of spike messages to JSON file.
KNP_DECLSPEC std::vector< core::messaging::SpikeMessage > load_messages_from_json(const std::filesystem::path &path_to_json, const knp::core::UID &uid, bool strict_format=true)
Read spike messages from a JSON file.