@NotThreadSafe public class JsonGeneratorWriter extends com.google.gson.stream.JsonWriter implements Callable<com.fasterxml.jackson.core.JsonGenerator>
| Constructor and Description |
|---|
JsonGeneratorWriter(com.fasterxml.jackson.core.JsonGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.stream.JsonWriter |
beginArray() |
com.google.gson.stream.JsonWriter |
beginObject() |
com.fasterxml.jackson.core.JsonGenerator |
call() |
void |
close() |
com.google.gson.stream.JsonWriter |
endArray() |
com.google.gson.stream.JsonWriter |
endObject() |
void |
flush() |
com.fasterxml.jackson.core.JsonGenerator |
getGenerator() |
String[] |
getLocationInfo() |
String |
getPath() |
com.google.gson.stream.JsonWriter |
name(String name) |
com.google.gson.stream.JsonWriter |
nullValue() |
String |
toString() |
com.google.gson.stream.JsonWriter |
value(boolean value) |
com.google.gson.stream.JsonWriter |
value(Boolean value) |
com.google.gson.stream.JsonWriter |
value(double value) |
com.google.gson.stream.JsonWriter |
value(long value) |
com.google.gson.stream.JsonWriter |
value(Number value) |
com.google.gson.stream.JsonWriter |
value(String value) |
public JsonGeneratorWriter(com.fasterxml.jackson.core.JsonGenerator generator)
public com.fasterxml.jackson.core.JsonGenerator getGenerator()
public com.google.gson.stream.JsonWriter beginArray()
throws IOException
public com.google.gson.stream.JsonWriter endArray()
throws IOException
public com.google.gson.stream.JsonWriter beginObject()
throws IOException
public com.google.gson.stream.JsonWriter endObject()
throws IOException
public com.google.gson.stream.JsonWriter name(String name) throws IOException
public com.google.gson.stream.JsonWriter value(String value) throws IOException
public com.google.gson.stream.JsonWriter nullValue()
throws IOException
public com.google.gson.stream.JsonWriter value(boolean value)
throws IOException
public com.google.gson.stream.JsonWriter value(Boolean value) throws IOException
public com.google.gson.stream.JsonWriter value(double value)
throws IOException
public com.google.gson.stream.JsonWriter value(long value)
throws IOException
public com.google.gson.stream.JsonWriter value(Number value) throws IOException
public void flush()
throws IOException
public void close()
throws IOException
public String toString()
public String[] getLocationInfo()
public com.fasterxml.jackson.core.JsonGenerator call()
throws Exception
public String getPath()
Copyright © 2020 The Immutables.org authors. All rights reserved.