This crate offers a replacement for
Value type, which is
significantly more memory efficient.
As a ballpark figure, it will typically use half as much memory as
serde-json when deserializing a value and the memory footprint of cloning
a value is more than 7x smaller.
The primary type exposed by this crate is the
IValue type. It is guaranteed
to be pointer-sized and has a niche (so
Option<IValue> is also guaranteed
to be pointer-sized).
ctorA global string cache is used when interning strings. This cache is normally initialized lazily on first use. Enabling the
ctorfeature will cause it to be eagerly initialized on startup. There is no performance benefit to this, but it can help avoid false positives from tools like
mockallocwhich try to detect memory leaks during tests.
Functionality relating to the JSON array type
Functionality relating to the JSON number type
Functionality relating to the JSON object type
Functionality relating to the JSON string type
A proxy type which imitates a
Stores an arbitrary JSON value.
Enum which distinguishes the six JSON types.
Trait which abstracts over the various number and string types
which can be used to index into an