JsonGenerator.@Deprecated
public interface JsonFormatter
JsonFormatter provides operations to turn JsonNodes into valid JSON text.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(JsonNode jsonNode)
Deprecated.
Replaced by
JsonGenerator.generate(JsonNode). |
void |
format(JsonNode jsonNode,
java.io.Writer writer)
Deprecated.
Replaced by
JsonGenerator.generate(Writer, JsonNode). |
java.lang.String format(JsonNode jsonNode)
JsonGenerator.generate(JsonNode).JsonNode formatted as a String.jsonNode - the JsonNode to format.JsonNode formatted as a String.void format(JsonNode jsonNode, java.io.Writer writer) throws java.io.IOException
JsonGenerator.generate(Writer, JsonNode).JsonNode formatted to the specified Writer.jsonNode - the JsonNode to format.writer - the Writer to stream the formatted JsonNode to.java.io.IOException - if there was a problem writing to the Writer.