Skip to content

jteration/rs_json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs_json

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,
}

About

JSON parser written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages