Constructor and Description |
---|
JsonArray() |
JsonArray(List<Json> jsonList) |
Modifier and Type | Method and Description |
---|---|
void |
add(Json json) |
String |
serialize()
Returns a JSON-format string representation of this object.
|
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)
Copyright © 2003–2017 Atlassian. All rights reserved.
View cookie preferences