[go: up one dir, main page]

Module lazyvalue

Source
Expand description

A lazy type to representing a unparsed raw JSON text for lazy operators.

Structs§

ArrayJsonIter
A lazied iterator for JSON array text. It will parse the JSON when iterating.
LazyArray
LazyObject
LazyValue
LazyValue wrappers a unparsed raw JSON text. It is borrowed from the origin JSON text.
ObjectJsonIter
A lazied iterator for JSON object text. It will parse the JSON when iterating.
OwnedLazyValue
OwnedLazyValue wrappers a unparsed raw JSON text. It is owned and support Get, Set

Functions§

get
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_bytes
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_bytes_unchecked
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_faststr
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_faststr_unchecked
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_slice
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_slice_unchecked
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_str
Gets a field from a path. And return it as a Result<LazyValue>.
get_from_str_unchecked
Gets a field from a path. And return it as a Result<LazyValue>.
get_many
get_many returns multiple fields from the PointerTree.
get_many_unchecked
get_many returns multiple fields from the PointerTree.
get_unchecked
Gets a field from a path. And return it as a Result<LazyValue>.
to_array_iter
Traverse the JSON array text through a lazy iterator. The JSON parsing will doing when iterating.
to_array_iter_unchecked
Traverse the JSON text through a lazy object iterator. The JSON parsing will doing when iterating.
to_object_iter
Traverse the JSON object text through a lazy iterator. The JSON parsing will doing when iterating.
to_object_iter_unchecked
Traverse the JSON text through a lazy object iterator. The JSON parsing will doing when iterating.