Crate tremor_value[][src]

A tremor value to represent data

Macros

json

Taken from: https://github.com/serde-rs/json/blob/5b5f95831d9e0d769367b30b76a686339bffd209/src/macros.rs Construct a simdjson::Value from a JSON literal.

Structs

AlignedBuf

SIMD aligned buffer

KnownKey

Well known key that can be looked up in a Value faster. It achives this by memorizing the hash.

Enums

Error

A Error

KnownKeyError

Error for known keys

StaticNode

Static tape node

Value

Borrowed JSON-DOM Value, consider using the ValueTrait to access its content

Functions

parse_to_value

Parses a slice of bytes 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.

parse_to_value_with_buffers

Parses a slice of bytes 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.

to_value

convert anything implementing Serialize into a Value using our own Serializer.

Type Definitions

Object

Representation of a JSON object

Result

Result type