|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.json.json.JsonArray
public class JsonArray
Constructor Summary | |
---|---|
JsonArray()
|
|
JsonArray(List<Json> jsonList)
|
Method Summary | |
---|---|
void |
add(Json json)
|
String |
serialize()
Returns a JSON-format string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonArray()
public JsonArray(List<Json> jsonList)
Method Detail |
---|
public String serialize()
Json
The string must evaluate in a Javascript engine; i.e. it must be a valid RHS for the Javascript expression: { data : RHS }
Thus, nulls, booleans, numbers, strings, arrays and objects should be supported by implementing classes.
Closures must not be returned with this method.
serialize
in interface Json
public void add(Json json)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |