Constructor and Description |
---|
JsonObject() |
JsonObject(Map<String,Object> map) |
JsonObject(String json) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public JsonObject(String json)
public JsonObject()
public JsonObject getJsonObject(String key)
public byte[] getBinary(String key)
public JsonObject getJsonObject(String key, JsonObject def)
public byte[] getBinary(String key, byte[] def)
public boolean containsKey(String key)
public JsonObject put(String key, Enum value)
public JsonObject put(String key, CharSequence value)
public JsonObject put(String key, String value)
public JsonObject put(String key, Integer value)
public JsonObject put(String key, Long value)
public JsonObject put(String key, Double value)
public JsonObject put(String key, Float value)
public JsonObject put(String key, Boolean value)
public JsonObject putNull(String key)
public JsonObject put(String key, JsonObject value)
public JsonObject put(String key, JsonArray value)
public JsonObject put(String key, byte[] value)
public JsonObject put(String key, Object value)
public JsonObject mergeIn(JsonObject other)
public String encode()
public String encodePrettily()
public JsonObject copy()
public java.util.stream.Stream<Map.Entry<String,Object>> stream()
public int size()
public JsonObject clear()
public boolean isEmpty()
public Buffer writeToBuffer()
writeToBuffer
in interface ClusterSerializable
public void readFromBuffer(Buffer buffer)
readFromBuffer
in interface ClusterSerializable
Copyright © 2014. All Rights Reserved.