Goby3
3.1.5a
2024.05.23
|
Support arbitrary data types using nlohmann JSON (must define to_json/from_json functions for your data type: see nlohmann JSON docs) More...
#include <goby/middleware/marshalling/json.h>
Static Public Member Functions | |
static std::vector< char > | serialize (const T &msg) |
static std::string | type_name (const T &t=T()) |
template<typename CharIterator > | |
static std::shared_ptr< T > | parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &type=type_name()) |
Support arbitrary data types using nlohmann JSON (must define to_json/from_json functions for your data type: see nlohmann JSON docs)
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |