|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jooq.tools.json.JSONObject
public class JSONObject
A JSON object. Key value pairs are unordered. JSONObject supports java.util.Map interface.
Constructor Summary | |
---|---|
JSONObject()
|
Method Summary | |
---|---|
static String |
escape(String s)
Escape quotes, \, /, \r, \n, \b, \f, \t and other control characters (U+0000 through U+001F). |
static String |
toJSONString(Map<?,?> map)
Convert a map to JSON text. |
static String |
toString(String key,
Object value)
|
static void |
writeJSONString(Map<?,?> map,
Writer out)
Encode a map into JSON text and write it to out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSONObject()
Method Detail |
---|
public static void writeJSONString(Map<?,?> map, Writer out) throws IOException
IOException
JSONValue.writeJSONString(Object, Writer)
public static String toJSONString(Map<?,?> map)
JSONValue.toJSONString(Object)
public static String toString(String key, Object value)
public static String escape(String s)
JSONValue.escape(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |