Skip to content

Instantly share code, notes, and snippets.

Avatar

Timmy Jose timmyjose

View GitHub Profile
View json_tree.rs
use std::string;
enum JsonObject {
Number(i32),
String(string::String),
Array(Vec<JsonObject>),
Object(Vec<KeyVal>),
}
use JsonObject::*;