Package fmpp.util
Class JSONParser
- java.lang.Object
-
- fmpp.util.JSONParser
-
public class JSONParser extends java.lang.Object
Simple JSON parser where JSON objects createMap
-s, JSON array-s createList
-s, and the others create the obvious Java equivalents. Numbers will beInteger
-s where they fit into that, otherwise they will beLong
-s, and if not even can store the value or if the value is not whole,BigDecimal
-s.- Since:
- 0.9.15
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
parse(java.lang.String src, java.lang.String sourceLocation)
-
-
-
Method Detail
-
parse
public static java.lang.Object parse(java.lang.String src, java.lang.String sourceLocation) throws JSONParseException
- Throws:
JSONParseException
-
-