Constructor and Description |
---|
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) |
int |
getDepth()
Returns the current depth.
|
NamingStyle |
getEnumStyle() |
JSONHint |
getHint()
Returns the current hint annotation.
|
String |
getIndentText() |
int |
getInitialIndent() |
Object |
getKey()
Returns the current key object.
|
Object |
getKey(int depth)
Returns the key object in any depth.
|
int |
getLevel()
Deprecated.
|
LocalCache |
getLocalCache() |
Locale |
getLocale() |
int |
getMaxDepth() |
JSON.Mode |
getMode() |
NamingStyle |
getPropertyStyle() |
TimeZone |
getTimeZone() |
boolean |
isPrettyPrint() |
boolean |
isSuppressNull() |
String |
toString() |
public Locale getLocale()
public TimeZone getTimeZone()
public int getMaxDepth()
public boolean isPrettyPrint()
public int getInitialIndent()
public String getIndentText()
public boolean isSuppressNull()
public JSON.Mode getMode()
public NamingStyle getPropertyStyle()
public NamingStyle getEnumStyle()
public LocalCache getLocalCache()
@Deprecated public int getLevel()
public int getDepth()
public Object getKey()
public Object getKey(int depth)
public JSONHint getHint()
public <T> T convert(Object key, Object value, Class<? extends T> c) throws Exception
Exception
Copyright © 2014. All rights reserved.