| Package | Description |
|---|---|
| org.apache.sling.commons.json.io | |
| org.apache.sling.commons.json.jcr |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONStringer
Deprecated.
|
| Modifier and Type | Method and 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
|
| Modifier and Type | Method and 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
|
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.