|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.arnx.jsonic.JSON.Context
public final class JSON.Context
| Constructor Summary | |
|---|---|
JSON.Context()
|
|
| Method Summary | ||
|---|---|---|
|
convert(Object key,
Object value,
Class<? extends T> c)
|
|
Object |
convert(Object key,
Object value,
Type t)
|
|
StringBuilder |
getCachedBuffer()
|
|
NamingStyle |
getEnumCaseStyle()
|
|
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()
|
|
NamingStyle |
getPropertyCaseStyle()
|
|
TimeZone |
getTimeZone()
|
|
boolean |
isPrettyPrint()
|
|
boolean |
isSuppressNull()
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JSON.Context()
| Method Detail |
|---|
public StringBuilder getCachedBuffer()
public Locale getLocale()
public TimeZone getTimeZone()
public int getMaxDepth()
public boolean isPrettyPrint()
public boolean isSuppressNull()
public JSON.Mode getMode()
public NamingStyle getPropertyCaseStyle()
public NamingStyle getEnumCaseStyle()
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
public Object convert(Object key,
Object value,
Type t)
throws Exception
Exceptionpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||