Package org.apache.openjpa.json
Interface JSON
- 
- All Known Implementing Classes:
 JSONObject,JSONObject.Array,JSONObject.KVMap
public interface JSONA generic interface for a JSON encoded instance.- Author:
 - Pinaki Poddar
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringARRAY_EMPTYstatic charARRAY_ENDstatic charARRAY_STARTstatic charFIELD_SEPARATORstatic StringID_MARKERstatic charIOR_SEPARTORstatic charMEMBER_SEPARATORstatic StringNEWLINEstatic StringNULL_LITERALstatic charOBJECT_ENDstatic charOBJECT_STARTstatic charQUOTEstatic StringREF_MARKERstatic charSPACEstatic charVALUE_SEPARATOR 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringBuilderasString(int level)Render into a string buffer. 
 - 
 
- 
- 
Field Detail
- 
FIELD_SEPARATOR
static final char FIELD_SEPARATOR
- See Also:
 - Constant Field Values
 
 
- 
MEMBER_SEPARATOR
static final char MEMBER_SEPARATOR
- See Also:
 - Constant Field Values
 
 
- 
VALUE_SEPARATOR
static final char VALUE_SEPARATOR
- See Also:
 - Constant Field Values
 
 
- 
IOR_SEPARTOR
static final char IOR_SEPARTOR
- See Also:
 - Constant Field Values
 
 
- 
QUOTE
static final char QUOTE
- See Also:
 - Constant Field Values
 
 
- 
SPACE
static final char SPACE
- See Also:
 - Constant Field Values
 
 
- 
OBJECT_START
static final char OBJECT_START
- See Also:
 - Constant Field Values
 
 
- 
OBJECT_END
static final char OBJECT_END
- See Also:
 - Constant Field Values
 
 
- 
ARRAY_START
static final char ARRAY_START
- See Also:
 - Constant Field Values
 
 
- 
ARRAY_END
static final char ARRAY_END
- See Also:
 - Constant Field Values
 
 
- 
NEWLINE
static final String NEWLINE
- See Also:
 - Constant Field Values
 
 
- 
NULL_LITERAL
static final String NULL_LITERAL
- See Also:
 - Constant Field Values
 
 
- 
REF_MARKER
static final String REF_MARKER
- See Also:
 - Constant Field Values
 
 
- 
ID_MARKER
static final String ID_MARKER
- See Also:
 - Constant Field Values
 
 
- 
ARRAY_EMPTY
static final String ARRAY_EMPTY
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
asString
StringBuilder asString(int level)
Render into a string buffer.- Parameters:
 level- level at which this instance is being rendered- Returns:
 - a mutable buffer
 
 
 - 
 
 -