Skip to main content

Module json_msgpack

Module json_msgpack 

Source

Re-exports§

pub use error::MsgpackError;
pub use error::MsgpackResult;
pub use instant_ext::EXT_INSTANT_NAIVE;
pub use instant_ext::EXT_INSTANT_UTC;
pub use instant_ext::INSTANT_EXT_LEN;
pub use instant_ext::InstantKind;
pub use instant_ext::instant_from_ext;
pub use instant_ext::read_instant;
pub use instant_ext::write_instant;
pub use json_value::JsonValue;
pub use native_cell::NativeCell;
pub use reader::json_from_msgpack;
pub use reader::value_from_msgpack;
pub use transcoder::msgpack_to_json_string;
pub use writer::json_to_msgpack;
pub use writer::json_to_msgpack_or_empty;
pub use writer::value_to_msgpack;

Modules§

error
Error type for the msgpack readers in this module.
instant_ext
Msgpack ext encoding for typed instants.
json_value
JsonValue newtype wrapper around serde_json::Value with zerompk traits.
native_cell
NativeCell: a Value carried in plain msgpack inside a zerompk struct.
reader
Msgpack → serde_json::Value and nodedb_types::Value readers.
transcoder
Streaming msgpack → JSON string transcoder.
writer
Msgpack serialization for serde_json::Value and nodedb_types::Value.