|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
JsonThe 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 Jsonpublic void add(Json json)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||