public class GensonJsonGenerator extends Object implements javax.json.stream.JsonGenerator
Modifier and Type | Field and Description |
---|---|
static String |
HTML_SAFE |
static String |
SKIP_NULL |
Constructor and Description |
---|
GensonJsonGenerator(ObjectWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
javax.json.stream.JsonGenerator |
write(BigDecimal value) |
javax.json.stream.JsonGenerator |
write(BigInteger value) |
javax.json.stream.JsonGenerator |
write(boolean value) |
javax.json.stream.JsonGenerator |
write(double value) |
javax.json.stream.JsonGenerator |
write(int value) |
javax.json.stream.JsonGenerator |
write(javax.json.JsonValue value) |
javax.json.stream.JsonGenerator |
write(long value) |
javax.json.stream.JsonGenerator |
write(String value) |
javax.json.stream.JsonGenerator |
write(String name,
BigDecimal value) |
javax.json.stream.JsonGenerator |
write(String name,
BigInteger value) |
javax.json.stream.JsonGenerator |
write(String name,
boolean value) |
javax.json.stream.JsonGenerator |
write(String name,
double value) |
javax.json.stream.JsonGenerator |
write(String name,
int value) |
javax.json.stream.JsonGenerator |
write(String name,
javax.json.JsonValue value) |
javax.json.stream.JsonGenerator |
write(String name,
long value) |
javax.json.stream.JsonGenerator |
write(String name,
String value) |
javax.json.stream.JsonGenerator |
writeEnd() |
javax.json.stream.JsonGenerator |
writeNull() |
javax.json.stream.JsonGenerator |
writeNull(String name) |
javax.json.stream.JsonGenerator |
writeStartArray() |
javax.json.stream.JsonGenerator |
writeStartArray(String name) |
javax.json.stream.JsonGenerator |
writeStartObject() |
javax.json.stream.JsonGenerator |
writeStartObject(String name) |
public static final String SKIP_NULL
public static final String HTML_SAFE
public GensonJsonGenerator(ObjectWriter writer)
public javax.json.stream.JsonGenerator writeStartObject()
writeStartObject
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeStartObject(String name)
writeStartObject
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeStartArray()
writeStartArray
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeStartArray(String name)
writeStartArray
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, javax.json.JsonValue value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, String value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, BigInteger value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, BigDecimal value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, int value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, long value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, double value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String name, boolean value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeNull(String name)
writeNull
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeEnd()
writeEnd
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(javax.json.JsonValue value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(String value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(BigDecimal value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(BigInteger value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(int value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(long value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(double value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator write(boolean value)
write
in interface javax.json.stream.JsonGenerator
public javax.json.stream.JsonGenerator writeNull()
writeNull
in interface javax.json.stream.JsonGenerator
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface javax.json.stream.JsonGenerator
Copyright © 2019. All rights reserved.