rison/
lib.rs

1//! Rison is a data serialization format based on JSON, optimized for
2//! compactness in URIs.
3//!
4//! The format supported by this implementation is based on the documentation
5//! and implementations found below:
6//! - <https://github.com/Nanonid/rison>
7//! - <https://github.com/w33ble/rison-node>
8//!
9//! The deserializer implementation is broadly inspired by the existing
10//! `serde_json` library which provides a `serde` serializer and
11//! deserializer for the standard JSON format.
12
13pub mod de;
14pub mod error;
15
16#[doc(inline)]
17pub use error::{Error, Result};
18
19#[doc(inline)]
20pub use de::{from_reader, from_slice, from_str, Deserializer};