| Constructor and Description |
|---|
JSON.Context() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(Object key,
Object value,
Class<? extends T> c) |
Object |
convert(Object key,
Object value,
Type t) |
StringBuilder |
getCachedBuffer() |
JSONHint |
getHint()
Returns the current hint annotation.
|
Object |
getKey()
Returns the current key object.
|
Object |
getKey(int level)
Returns the key object in any level.
|
int |
getLevel()
Returns the current level.
|
Locale |
getLocale() |
int |
getMaxDepth() |
JSON.Mode |
getMode() |
boolean |
isPrettyPrint() |
boolean |
isSuppressNull() |
String |
toString() |
public StringBuilder getCachedBuffer()
public Locale getLocale()
public int getMaxDepth()
public boolean isPrettyPrint()
public boolean isSuppressNull()
public JSON.Mode getMode()
public int getLevel()
public Object getKey()
public Object getKey(int level)
public JSONHint getHint()
public <T> T convert(Object key, Object value, Class<? extends T> c) throws Exception
Exception