Package com.thoughtworks.xstream.io.json
Class JsonHierarchicalStreamWriter
java.lang.Object
com.thoughtworks.xstream.io.AbstractWriter
com.thoughtworks.xstream.io.json.AbstractJsonWriter
com.thoughtworks.xstream.io.json.JsonWriter
com.thoughtworks.xstream.io.json.JsonHierarchicalStreamWriter
- All Implemented Interfaces:
ExtendedHierarchicalStreamWriter
,HierarchicalStreamWriter
Deprecated.
As of 1.3.1, use JsonWriter instead
A simple writer that outputs JSON in a pretty-printed indented stream. Arrays, Lists and Sets
rely on you NOT using XStream.addImplicitCollection(..)
- Since:
- 1.2
-
Nested Class Summary
Nested classes/interfaces inherited from class com.thoughtworks.xstream.io.json.JsonWriter
JsonWriter.Format
Nested classes/interfaces inherited from class com.thoughtworks.xstream.io.json.AbstractJsonWriter
AbstractJsonWriter.Type
-
Field Summary
Fields inherited from class com.thoughtworks.xstream.io.json.JsonWriter
format, writer
Fields inherited from class com.thoughtworks.xstream.io.json.AbstractJsonWriter
DROP_ROOT_MODE, EXPLICIT_MODE, IEEE_754_MODE, STRICT_MODE
-
Constructor Summary
ConstructorsConstructorDescriptionJsonHierarchicalStreamWriter
(Writer writer) Deprecated.As of 1.3.1, use JsonWriter insteadJsonHierarchicalStreamWriter
(Writer writer, char[] lineIndenter) Deprecated.As of 1.3.1, use JsonWriter insteadJsonHierarchicalStreamWriter
(Writer writer, char[] lineIndenter, String newLine) Deprecated.As of 1.3.1, use JsonWriter insteadJsonHierarchicalStreamWriter
(Writer writer, String lineIndenter) Deprecated.As of 1.3.1, use JsonWriter insteadJsonHierarchicalStreamWriter
(Writer writer, String lineIndenter, String newLine) Deprecated.As of 1.3.1, use JsonWriter instead -
Method Summary
Methods inherited from class com.thoughtworks.xstream.io.json.JsonWriter
addLabel, addValue, close, endArray, endObject, flush, nextElement, startArray, startObject, underlyingWriter
Methods inherited from class com.thoughtworks.xstream.io.json.AbstractJsonWriter
addAttribute, endNode, getType, isArray, setValue, startNode, startNode
Methods inherited from class com.thoughtworks.xstream.io.AbstractWriter
encodeAttribute, encodeNode
-
Constructor Details
-
JsonHierarchicalStreamWriter
Deprecated.As of 1.3.1, use JsonWriter instead -
JsonHierarchicalStreamWriter
Deprecated.As of 1.3.1, use JsonWriter instead -
JsonHierarchicalStreamWriter
Deprecated.As of 1.3.1, use JsonWriter instead -
JsonHierarchicalStreamWriter
Deprecated.As of 1.3.1, use JsonWriter instead -
JsonHierarchicalStreamWriter
Deprecated.As of 1.3.1, use JsonWriter instead
-