org.apache.jackrabbit.oak.commons.json
Class JsonObject
java.lang.Object
org.apache.jackrabbit.oak.commons.json.JsonObject
public class JsonObject
- extends Object
Simple JSON Object representation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonObject
public JsonObject()
create
public static JsonObject create(JsopTokenizer t)
- Reads a JSON object from the given tokenizer. The opening '{' of the
object should already have been consumed from the tokenizer before
this method is called.
- Parameters:
t - tokenizer
- Returns:
- JSON object
toJson
public void toJson(JsopBuilder buf)
getProperties
public Map<String,String> getProperties()
getChildren
public Map<String,JsonObject> getChildren()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.