1 //! inf3r-json — the only JSON in the tree.2 //!3 //! The core reads a catalogue with it and the web layer reads requests and4 //! writes replies with it, so both sides see one value type and one set of5 //! rules. Objects are ordered maps: the bytes of a document follow from its6 //! content, not from the order a peer typed the keys in.7 //!8 //! This crate is a leaf. It depends on nothing, and it knows no JSON shape: no9 //! request, no catalogue, no field names live here.10 11 pub mod b64;12 mod parse;13 mod value;14 mod write;15 16 pub use parse::{JsonError, MAX_DEPTH, parse, parse_bytes};17 pub use value::{Object, Value};18 pub use write::{encode, to_string};