Enum qt_json_rs::elements::JsonValue [−][src]
pub enum JsonValue {
String(String),
Number(f64),
Object(Object),
Array(Vec<JsonValue>),
Undefined,
Bool(bool),
Null,
}
Expand description
A JSON Value is the Enum containing a Value. This makes it easy to perform match operations against it.
Variants
String(String)
Tuple Fields
0: String
This encapsulates a RUST string.
Number(f64)
Tuple Fields
0: f64
Since JS uses 64Bit floats, we can use them also
Object(Object)
Tuple Fields
0: Object
Another JavaScript Object containing a Map of keys and values.
Array(Vec<JsonValue>)
A JavaScript Array containing a list of values.
Undefined
The explicit undefined type
Bool(bool)
Tuple Fields
0: bool
A Bool
Null
A NULL value