Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Mee;
- using Mee.Json;
- void main(string[] args){
- string s = """{
- "un" : 1,
- "deux" : [
- 1,
- {
- "aa" : "aa",
- "bb" : ["1","2","3"],
- "cc" : true
- },
- 3
- ],
- "trois" : {
- "a" : false,
- "b" : {
- "object" : null
- },
- "c" : "c"
- }
- }""";
- var parser = new Parser();
- var node = parser.parse_data(s);
- stdout.printf("%s\n",node["deux"]["1"]["bb"]["1"].to_string());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement