[][src]Module simd_json::value

simd-json JSON-DOM value

Re-exports

pub use self::borrowed::to_value as to_borrowed_value;
pub use self::borrowed::Value as BorrowedValue;
pub use self::owned::to_value as to_owned_value;
pub use self::owned::Value as OwnedValue;

Modules

borrowed

This module holds the two dom implementations we use. We distingush between owned and borrowed. The difference being is that the borrowed value will use &str as its string type, refferencing the input, while owned will allocate a new String for each value.

owned

Owned, lifetimeless version of the value for times when lifetimes are to be avoided

tape

Tape implementation

Enums

AccessError

An access error for ValueType

ValueType

Types of JSON values

Traits

MutableValue

Mutatability for values

Value

The Value exposes common interface for values, this allows using both BorrowedValue and OwnedValue nearly interchangable

ValueBuilder

Support of builder methods for traits.

Functions

deserialize

Parses a slice of butes into a Value dom. This function will rewrite the slice to de-escape strings. As we reference parts of the input slice the resulting dom has the dame lifetime as the slice it was created from.