public class JsonArray extends Object implements Iterable<Object>, ClusterSerializable
Constructor and Description |
---|
JsonArray() |
JsonArray(List list) |
JsonArray(String json) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public JsonArray(String json)
public JsonArray()
public JsonArray(List list)
public String getString(int pos)
public Integer getInteger(int pos)
public Long getLong(int pos)
public Double getDouble(int pos)
public Float getFloat(int pos)
public Boolean getBoolean(int pos)
public JsonObject getJsonObject(int pos)
public JsonArray getJsonArray(int pos)
public byte[] getBinary(int pos)
public Object getValue(int pos)
public boolean hasNull(int pos)
public JsonArray add(CharSequence value)
public JsonArray addNull()
public JsonArray add(JsonObject value)
public JsonArray add(byte[] value)
public boolean contains(Object value)
public boolean remove(Object value)
public Object remove(int pos)
public int size()
public boolean isEmpty()
public List getList()
public JsonArray clear()
public String encode()
public String encodePrettily()
public JsonArray copy()
public java.util.stream.Stream<Object> stream()
public Buffer writeToBuffer()
writeToBuffer
in interface ClusterSerializable
public void readFromBuffer(Buffer buffer)
readFromBuffer
in interface ClusterSerializable
Copyright © 2014. All Rights Reserved.