|
|||||||||
| 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()
|
|
int |
getDepth()
Returns the current depth. |
|
NamingStyle |
getEnumCaseStyle()
Deprecated. |
|
NamingStyle |
getEnumStyle()
|
|
JSONHint |
getHint()
Returns the current hint annotation. |
|
Object |
getKey()
Returns the current key object. |
|
Object |
getKey(int level)
Returns the key object in any depth. |
|
int |
getLevel()
Deprecated. |
|
Locale |
getLocale()
|
|
int |
getMaxDepth()
|
|
JSON.Mode |
getMode()
|
|
NamingStyle |
getPropertyCaseStyle()
Deprecated. |
|
NamingStyle |
getPropertyStyle()
|
|
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 getPropertyStyle()
public NamingStyle getEnumStyle()
@Deprecated public NamingStyle getPropertyCaseStyle()
@Deprecated public NamingStyle getEnumCaseStyle()
@Deprecated public int getLevel()
public int getDepth()
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 | ||||||||