Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 559 Bytes

ReadMe.md

File metadata and controls

31 lines (22 loc) · 559 Bytes

#SilentGo JSON Parser

the json parser for java it's faster and lighter than fastjson and gson ...

How to use

Usage

simple eg:

    // common parser
    String json = "[12,{\"axx\":[1.2,22,\"xxx\"]}]";
    JSONEntity entity = JSON.parse(json)
    // lazy parser
    String json = "[12,{\"axx\":[1.2,22,\"xxx\"]}]";
    JSONEntity entity = JSON.parse(json,new JSONConfig(true));
    //parse complex object
    String jsonStirng = "{.....}";
    T object  = JSON.parse(jsonString, Class<T> tClass);

license MIT