JsonGenerator
.@Deprecated
public interface JsonWriter
JsonWriter
provides operations to stream valid JSON text to a java.io.Writer
.Modifier and Type | Method and Description |
---|---|
void |
write(java.io.Writer writer,
JsonNode jsonNode)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, JsonNode) . |
void |
write(java.io.Writer writer,
WriteableJsonArray writeableJsonArray)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, WriteableJsonArray) . |
void |
write(java.io.Writer writer,
WriteableJsonNumber writeableJsonNumber)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, WriteableJsonNumber) . |
void |
write(java.io.Writer writer,
WriteableJsonObject writeableJsonObject)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, WriteableJsonObject) . |
void |
write(java.io.Writer writer,
WriteableJsonString writeableJsonString)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, WriteableJsonString) . |
void write(java.io.Writer writer, WriteableJsonArray writeableJsonArray) throws java.io.IOException
JsonGenerator.generate(Writer, WriteableJsonArray)
.WriteableJsonArray
formatted to the specified Writer
.writer
- the Writer
to output to.writeableJsonArray
- the WriteableJsonArray
to output.java.io.IOException
- if there was a problem writing to the Writer
.void write(java.io.Writer writer, WriteableJsonObject writeableJsonObject) throws java.io.IOException
JsonGenerator.generate(Writer, WriteableJsonObject)
.WriteableJsonObject
formatted to the specified Writer
.writer
- the Writer
to output to.writeableJsonObject
- the WriteableJsonObject
to output.java.io.IOException
- if there was a problem writing to the Writer
.void write(java.io.Writer writer, WriteableJsonString writeableJsonString) throws java.io.IOException
JsonGenerator.generate(Writer, WriteableJsonString)
.WriteableJsonString
formatted to the specified Writer
.writer
- the Writer
to output to.writeableJsonString
- the WriteableJsonString
to output.java.io.IOException
- if there was a problem writing to the Writer
.void write(java.io.Writer writer, WriteableJsonNumber writeableJsonNumber) throws java.io.IOException
JsonGenerator.generate(Writer, WriteableJsonNumber)
.WriteableJsonNumber
formatted to the specified Writer
.writer
- the Writer
to output to.writeableJsonNumber
- the WriteableJsonNumber
to output.java.io.IOException
- if there was a problem writing to the Writer
.java.lang.IllegalArgumentException
- if the characters written by the WriteableJsonNumber
didn't constitute a complete JSON number.void write(java.io.Writer writer, JsonNode jsonNode) throws java.io.IOException
JsonGenerator.generate(Writer, JsonNode)
.JsonNode
formatted to the specified Writer
.writer
- the Writer
to output to.jsonNode
- the JsonNode
to output.java.io.IOException
- if there was a problem writing to the Writer
.