1 2 3 4 5 6 7 8 9 10 11
use std::collections::HashMap; #[derive(Debug, PartialEq, Clone)] pub(crate) enum JsonValue { Null, Boolean(bool), Str(String), Num(f64), Array(Vec<JsonValue>), Object(HashMap<String, JsonValue>), }