Enum chisel_json::JsonValue
source · pub enum JsonValue<'a> {
Object(Vec<(String, JsonValue<'a>)>),
Array(Vec<JsonValue<'a>>),
String(Cow<'a, str>),
Number(f64),
Boolean(bool),
Null,
}
Expand description
Basic enumeration of different Json values
Variants§
Object(Vec<(String, JsonValue<'a>)>)
Map of values
Array(Vec<JsonValue<'a>>)
Array of values
String(Cow<'a, str>)
Canonical string value
Number(f64)
Canonical number value
Boolean(bool)
Canonical boolean value
Null
Canonical null value