hyson - d2fest
TRANSCRIPT
COMPACT JSON ORM
HySON
JSON vs XML as Percentage
The use of JSON Format is increasing.
http://www.cs.tufts.edu/comp/150IDS/final_papers/lizzied.3/FinalReport.html
JAVA ObjectJSON Formatstring
The parsing process is required.
USING JSON Format in JAVA
parsing
use JSONParser (https://github.com/douglascrockford/JSON-java)
{a: 10,b: “hySON!”,c: [2, 3, 4],d: [5, 6],temps: [{
a: "hhh",b: "aaa",c: "jjjj"
}, {a: "hhh2",b: "aaa2",c: "jjjj2"
}, {a: "hhh3",b: "aaa3",c: "jjjj3"
}]
}
parsing
BUT use HySON Library!
HySON COMPACT
One Line!!
HySON(Goal) GSONJSONParser
INSERT YOUR MAIN TILTE
Multi Line Parsing One Line Parsing One Line ParsingGeneric Type Parsing
is also aimed at providing simple
parsing in the same format.
TypeToken is required for Generic
Type Parsing.
https://github.com/HyOsori/hySON-JavaTHANK YOU