java.lang.Object
org.jooq.tools.json.JSONValue
- Author:
- FangYidong<fangyidong@yahoo.com.cn>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringEscape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).static ObjectParse JSON text into java object from the input source.static Objectstatic StringtoJSONString(Object value) Convert an object to JSON text.static voidwriteJSONString(Object value, Writer out) Encode an object into JSON text and write it to out.
- 
Constructor Details- 
JSONValuepublic JSONValue()
 
- 
- 
Method Details- 
writeJSONStringEncode an object into JSON text and write it to out.- Throws:
- IOException
- See Also:
 
- 
toJSONStringConvert an object to JSON text.- Returns:
- JSON text, or "null" if value is null or it's an NaN or an INF number.
- See Also:
 
- 
escapeEscape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F).
- 
parseWithExceptionParse JSON text into java object from the input source.- Returns:
- Instance of the following: org.json.simple.JSONObject, org.json.simple.JSONArray, java.lang.String, java.lang.Number, java.lang.Boolean, null
- Throws:
- IOException
- ParseException
 
- 
parseWithException- Throws:
- ParseException
 
 
-