public class JsonWriter extends Object implements JsonVisitor
Constructor and Description |
---|
JsonWriter() |
JsonWriter(IndentedWriter ps) |
JsonWriter(OutputStream ps)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
finishOutput() |
void |
startOutput() |
void |
visit(JsonArray jsonArray) |
void |
visit(JsonBoolean jsonBoolean) |
void |
visit(JsonNull jsonNull) |
void |
visit(JsonNumber jsonNumber) |
void |
visit(JsonObject jsonObject) |
void |
visit(JsonString jsonString) |
public JsonWriter()
@Deprecated public JsonWriter(OutputStream ps)
public JsonWriter(IndentedWriter ps)
public void startOutput()
public void finishOutput()
public void visit(JsonObject jsonObject)
visit
in interface JsonVisitor
public void visit(JsonArray jsonArray)
visit
in interface JsonVisitor
public void visit(JsonString jsonString)
visit
in interface JsonVisitor
public void visit(JsonNumber jsonNumber)
visit
in interface JsonVisitor
public void visit(JsonBoolean jsonBoolean)
visit
in interface JsonVisitor
public void visit(JsonNull jsonNull)
visit
in interface JsonVisitor
Licenced under the Apache License, Version 2.0