Interface JSON
- All Known Implementing Classes:
JSONObject
,JSONObject.Array
,JSONObject.KVMap
public interface JSON
A generic interface for a JSON encoded instance.
- Author:
- Pinaki Poddar
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final char
static final char
static final char
static final String
static final char
static final char
static final String
static final String
static final char
static final char
static final char
static final String
static final char
static final char
-
Method Summary
-
Field Details
-
FIELD_SEPARATOR
static final char FIELD_SEPARATOR- See Also:
-
MEMBER_SEPARATOR
static final char MEMBER_SEPARATOR- See Also:
-
VALUE_SEPARATOR
static final char VALUE_SEPARATOR- See Also:
-
IOR_SEPARTOR
static final char IOR_SEPARTOR- See Also:
-
QUOTE
static final char QUOTE- See Also:
-
SPACE
static final char SPACE- See Also:
-
OBJECT_START
static final char OBJECT_START- See Also:
-
OBJECT_END
static final char OBJECT_END- See Also:
-
ARRAY_START
static final char ARRAY_START- See Also:
-
ARRAY_END
static final char ARRAY_END- See Also:
-
NEWLINE
- See Also:
-
NULL_LITERAL
- See Also:
-
REF_MARKER
- See Also:
-
ID_MARKER
- See Also:
-
ARRAY_EMPTY
- See Also:
-
-
Method Details
-
asString
Render into a string buffer.- Parameters:
level
- level at which this instance is being rendered- Returns:
- a mutable buffer
-