29 #ifndef JSON_TRANSPORT_JSON_TRANSPORT_HPP 30 #define JSON_TRANSPORT_JSON_TRANSPORT_HPP 33 #include "json_msgs/Json.h" 44 inline json_t
unpack(json_msg_t message)
49 inline json_msg_t
pack(json_t data)
59 namespace message_traits
107 namespace serialization
113 template<
typename Stream>
120 template<
typename Stream>
137 #endif // JSON_TRANSPORT_JSON_TRANSPORT_HPP json_t unpack(json_msg_t message)
static const char * value(const json_transport::json_t &)
json_msg_t pack(json_t data)
a class to store JSON values
json_msgs::Json json_msg_t
static const char * value()
static const char * value(const json_transport::json_t &)
static basic_json from_msgpack(detail::input_adapter i, const bool strict=true)
create a JSON value from an input in MessagePack format
static const char * value()
static const char * value()
static const char * value(const json_transport::json_t &)
static uint32_t serializedLength(const json_transport::json_t &json)
static void read(Stream &stream, json_transport::json_t &json)
static void write(Stream &stream, const json_transport::json_t &json)
basic_json<> json
default JSON class
static std::vector< uint8_t > to_msgpack(const basic_json &j)
create a MessagePack serialization of a given JSON value