|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.json.jackson.JacksonJsonObject
public class JacksonJsonObject
A simple JsonObject implementation that works with
the JacksonContentConverter parser.
| Constructor Summary | |
|---|---|
JacksonJsonObject(Map<String,Object> nodes)
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
getNodes()
|
boolean |
isNullValue(Object value)
Returns true if the given value is a null value. |
Iterator<String> |
keys()
Returns a Map holding all the keys and value for the given Json Object. |
Object |
opt(String key)
Returns the given object under the key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JacksonJsonObject(Map<String,Object> nodes)
| Method Detail |
|---|
public Map<String,Object> getNodes()
public Iterator<String> keys()
JsonObject
keys in interface JsonObjectpublic Object opt(String key)
JsonObjectnull if nothing
is registerd under the key.
opt in interface JsonObjectpublic boolean isNullValue(Object value)
JsonObjecttrue if the given value is a null value.
isNullValue in interface JsonObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||