Uses of Class
org.opencms.json.JSONWriter
Package
Description
Classes to create JSON objects and arrays for JavaScript in OpenCms.
-
Uses of JSONWriter in org.opencms.json
Modifier and TypeClassDescriptionclass
JSONStringer provides a quick and convenient way of producing JSON text.Modifier and TypeMethodDescriptionJSONWriter.array()
Begin appending a new array.JSONWriter.endArray()
End an array.JSONWriter.endObject()
End an object.Append a key.JSONWriter.object()
Begin appending a new object.JSONWriter.value
(boolean b) Append either the valuetrue
or the valuefalse
.JSONWriter.value
(double d) Append a double value.JSONWriter.value
(long l) Append a long value.Append an object value.