Package | Description |
---|---|
org.apache.wicket.ajax.json |
Modifier and Type | Method and Description |
---|---|
JSONStringer |
JSONStringer.array()
Begins encoding a new array.
|
protected JSONStringer |
JSONStringer.createKey(String name)
Creates String representation of the key (property name) to this stringer
Override this method to provide your own representation of the name.
|
JSONStringer |
JSONStringer.endArray()
Ends encoding the current array.
|
JSONStringer |
JSONStringer.endObject()
Ends encoding the current object.
|
JSONStringer |
JSONStringer.entry(Map.Entry<String,Object> entry)
Encodes
key /value pair to this stringer. |
JSONStringer |
JSONStringer.key(String name)
Encodes the key (property name) to this stringer.
|
JSONStringer |
JSONStringer.object()
Begins encoding a new object.
|
JSONStringer |
JSONStringer.value(boolean value)
Encodes
value to this stringer. |
JSONStringer |
JSONStringer.value(double value)
Encodes
value to this stringer. |
JSONStringer |
JSONStringer.value(long value)
Encodes
value to this stringer. |
JSONStringer |
JSONStringer.value(Object value)
Encodes
value . |
Modifier and Type | Method and Description |
---|---|
String |
JSONArray.toString(JSONStringer stringer)
Encodes this array using
JSONStringer provided |
String |
JSONObject.toString(JSONStringer stringer)
Encodes this object using
JSONStringer provided |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.