public interface JsonGenerator extends Flushable, Closeable
Modifier and Type | Field and Description |
---|---|
static String |
PRETTY_PRINTING |
static final String PRETTY_PRINTING
JsonGenerator writeStartObject()
JsonGenerator writeStartObject(String name)
JsonGenerator writeStartArray()
JsonGenerator writeStartArray(String name)
JsonGenerator writeKey(String name)
JsonGenerationException
- if this method is not called within an object contextJsonGenerator write(String name, JsonValue value)
JsonGenerator write(String name, String value)
JsonGenerator write(String name, BigInteger value)
JsonGenerator write(String name, BigDecimal value)
JsonGenerator write(String name, int value)
JsonGenerator write(String name, long value)
JsonGenerator write(String name, double value)
JsonGenerator write(String name, boolean value)
JsonGenerator writeNull(String name)
JsonGenerator writeEnd()
JsonGenerator write(JsonValue value)
JsonGenerator write(String value)
JsonGenerator write(BigDecimal value)
JsonGenerator write(BigInteger value)
JsonGenerator write(int value)
JsonGenerator write(long value)
JsonGenerator write(double value)
JsonGenerator write(boolean value)
JsonGenerator writeNull()
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2010 - 2020 Adobe. All Rights Reserved