Crate rison

Source
Expand description

Rison is a data serialization format based on JSON, optimized for compactness in URIs.

The format supported by this implementation is based on the documentation and implementations found below:

The deserializer implementation is broadly inspired by the existing serde_json library which provides a serde serializer and deserializer for the standard JSON format.

Modules§

de
Deserialize Rison data to Rust data structures
error
Error and result types for Rison serialization and deserialization failures

Structs§

Deserializer
A deserializer for Rison into Rust values
Error
An error that can occur while serializing or deserializing Rison

Functions§

from_reader
Deserialize an instance of T from an IO stream of Rison
from_slice
Deserialize an instance of T from a byte slice of Rison
from_str
Deserialize an instance of T from a string of Rison

Type Aliases§

Result
An alias for Result with the rison::Error error type