@Beta public final class JsonWriterFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.google.gson.stream.JsonWriter |
createJsonWriter(Writer writer)
Create a new JsonWriter, which writes to the specified output writer.
|
static com.google.gson.stream.JsonWriter |
createJsonWriter(Writer writer,
int indentSize)
Create a new JsonWriter, which writes to the specified output writer.
|
public static com.google.gson.stream.JsonWriter createJsonWriter(Writer writer)
writer - Output writerpublic static com.google.gson.stream.JsonWriter createJsonWriter(Writer writer, int indentSize)
writer - Output writerindentSize - size of the indentCopyright © 2019 OpenDaylight. All rights reserved.