# Uses of Class
org.apache.sling.commons.json.io.JSONWriter

Packages that use JSONWriter
Package
Description
org.apache.sling.commons.json.io
org.apache.sling.commons.json.jcr

## Uses of JSONWriter in org.apache.sling.commons.json.io

Subclasses of JSONWriter in org.apache.sling.commons.json.io
Modifier and Type
Class
Description
`class`
`JSONStringer`
Deprecated.
Methods in org.apache.sling.commons.json.io that return JSONWriter
Modifier and Type
Method
Description
`JSONWriter`
JSONWriter.`array()`
Deprecated.
Begin appending a new array.
`JSONWriter`
JSONWriter.`endArray()`
Deprecated.
End an array.
`JSONWriter`
JSONWriter.`endObject()`
Deprecated.
End an object.
`JSONWriter`
JSONWriter.`key(String string)`
Deprecated.
Append a key.
`JSONWriter`
JSONWriter.`object()`
Deprecated.
Begin appending a new object.
`JSONWriter`
JSONWriter.`value(boolean b)`
Deprecated.
Append either the value `true` or the value `false`.
`JSONWriter`
JSONWriter.`value(double d)`
Deprecated.
Append a double value.
`JSONWriter`
JSONWriter.`value(long l)`
Deprecated.
Append a long value.
`JSONWriter`
JSONWriter.`value(Object object)`
Deprecated.
Append an object value.
`JSONWriter`
JSONWriter.`writeArray(JSONArray a)`
Deprecated.
Append a JSON Array
`JSONWriter`
JSONWriter.`writeObject(JSONObject o)`
Deprecated.
Append a JSON Object

## Uses of JSONWriter in org.apache.sling.commons.json.jcr

Methods in org.apache.sling.commons.json.jcr with parameters of type JSONWriter
Modifier and Type
Method
Description
`protected void`
JsonItemWriter.`dump(javax.jcr.Node node, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)`
Deprecated.
Dump given node in JSON, optionally recursing into its child nodes
`protected void`
JsonItemWriter.`dumpSingleNode(javax.jcr.Node n, JSONWriter w, int currentRecursionLevel, int maxRecursionLevels)`
Deprecated.
Dump a single node
`protected void`
JsonItemWriter.`dumpValue(JSONWriter w, javax.jcr.Value v)`
Deprecated.
Writes the given value to the JSON writer.
`protected void`
JsonItemWriter.`writeProperty(JSONWriter w, javax.jcr.Property p)`
Deprecated.
Write a single property