Skip to main content

Crate jinterner

Crate jinterner 

Source
Expand description

An efficient and concurrent interning library for JSON values.

Structs§

BoundValue
An IValue interned value together with a reference to the associated Jinterners arena.
BoundValueMut
An IValue interned value together with a mutable reference to the associated Jinterners arena.
BufferPoolserde
Buffers to reuse allocations when deserializing.
DeltaEncodingdelta
Wrapper around a Jinterners that uses delta encoding to serialize it.
ExtendJinternersserde
Wrapper to extend a Jinterners arena incrementally, typically by deserializing a sequence of serialized SnapshotDiff.
IValue
An interned JSON value.
InternedStrKey
An interned key for JSON objects.
InterningDeserializerserde and sync
Helper struct to deserialize an IValue from a Deserializer, interning intermediate values into the attached Jinterners arena.
InterningDeserializerMutserde
Helper struct to deserialize an IValue from a Deserializer, interning intermediate values into the attached Jinterners arena.
Jinterners
An arena to store interned JSON values.
MapRef
A shallow reference to a JSON map.
Mapping
Mapping to convert values from one Jinterners instance to another.
RetainBuilderretain
A builder to select items to retain in a Jinterners arena.
Snapshot
Snapshot of a Jinterners arena.
SnapshotDiffserde
Difference between two snapshots of a Jinterners arena.
SnapshotMark
A mark indicates the position of a Snapshot in a Jinterners arena.
Stats
Statistics about a Jinterners arena.

Enums§

ArrayOrder
Configuration to indicate whether array elements are logically ordered.
Base64Alphabetbase64
Base 64 alphabet.
BytesPolicy
Configuration to indicate how to treat byte arrays when converting them to JSON values.
ValueRef
A shallow reference to a JSON-like value.

Type Aliases§

DefaultBuildHasherstd
The default BuildHasher used in this crate.
HashbrownBuildHasher
The default BuildHasher from the hashbrown crate.
StdBuildHasherstd
The default BuildHasher from the standard library.