Module value

Source
Expand description

Representation of JSON values for presentation purposes.

Write your own ToJsonTreeValue implementation which converts to JsonTreeValue if you wish to visualise a custom JSON type with a JsonTree, and disable default features in your Cargo.toml if you do not need the serde_json dependency.

For reference, see the provided ToJsonTreeValue implementations in value.rs for the following JSON types:

  • serde_json::Value
  • simd_json::owned::Value

Enums§

BaseValueType
The type of a non-recursive JSON value.
ExpandableType
The type of a recursive JSON value.
JsonTreeValue
Representation of JSON values for presentation purposes.

Traits§

ToJsonTreeValue
A trait for types that can be converted to a JsonTreeValue.