Skip to main content

Module writer

Module writer 

Source
Expand description

Msgpack serialization for serde_json::Value and nodedb_types::Value.

Functionsยง

json_to_msgpack
Serialize a serde_json::Value to MessagePack bytes.
json_to_msgpack_or_empty
Serialize a serde_json::Value to MessagePack bytes, returning an empty msgpack map (0x80) on failure.
value_to_msgpack
Serialize a nodedb_types::Value to standard MessagePack bytes.