This crate provides a simple & convenient representation for any value:
enum Value {
Null,
Boolean(bool),
Number(f64),
String(String),
List(Vec<Value>),
Map(BTreeMap<String, Value>)
}
This crate is compatible with no_std
environments, requiring only the alloc
crate.
Support for serialising/deserialising using the serde
framework can be enabled via the serde
feature.
This crate defines and implements a WIT API when the wasm-component
feature is enabled, allowing it to be embedded in WASM applications.