Package org.apache.openjpa.json
Class JSONObject.KVMap
- java.lang.Object
-
- org.apache.openjpa.json.JSONObject.KVMap
-
- All Implemented Interfaces:
JSON
- Enclosing class:
- JSONObject
public static class JSONObject.KVMap extends java.lang.Object implements JSON
A map whose key or value can be JSON. A map is encoded as JSON as an array of entries. Each entry is a key value pair separated with :- Author:
- Pinaki Poddar
-
-
Field Summary
-
Fields inherited from interface org.apache.openjpa.json.JSON
ARRAY_EMPTY, ARRAY_END, ARRAY_START, FIELD_SEPARATOR, ID_MARKER, IOR_SEPARTOR, MEMBER_SEPARATOR, NEWLINE, NULL_LITERAL, OBJECT_END, OBJECT_START, QUOTE, REF_MARKER, SPACE, VALUE_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description KVMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilder
asString(int indent)
Render into a string buffer.void
put(java.lang.Object k, java.lang.Object v)
java.lang.String
toString()
-