Module simd_json::value[][src]

simd-json JSON-DOM value

Re-exports

pub use self::borrowed::to_value as to_borrowed_value;
pub use self::borrowed::to_value_with_buffers as to_borrowed_value_with_buffers;
pub use self::borrowed::Value as BorrowedValue;
pub use self::owned::to_value as to_owned_value;
pub use self::owned::to_value_with_buffers as to_owned_value_with_buffers;
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.

generator

Traits for serializing JSON

owned

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

prelude

Prelude for traits

tape

Tape implementation

Enums

AccessError

An access error for ValueType

StaticNode

Static tape node

ValueType

Types of JSON values

Traits

Array

Functions guaranteed for any array object

Builder

Support of builder methods for traits.

Mutable

Mutatability for values

Object

A JSON Object

Value

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

ValueAccess

Trait to allow accessing data inside a Value

Writable

A Value that can be serialized and written

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 same lifetime as the slice it was created from.