JSON parser written in Rust
WARNING: Writing this code was simply an educational exercise for the author. Letting this anywhere near production would be the strongest opposite of a good idea.
Based off of https://datatracker.ietf.org/doc/html/rfc8259
Returns a JsonValue with the following types
pub enum JsonValue {
JObj(HashMap<String, JsonValue>),
JArray(Vec<JsonValue>),
JString(String),
JNum(f64),
JBool(bool),
JNull,
}