Package | Description |
---|---|
javax.json |
Provides an object model API to process JSON.
|
javax.json.bind.serializer |
Defines serializer depending classes.
|
javax.json.spi |
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
|
javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
org.apache.activemq.artemis.utils |
Modifier and Type | Method and Description |
---|---|
static JsonGenerator |
Json.createGenerator(OutputStream out)
Creates a JSON generator for writing JSON to a byte stream.
|
static JsonGenerator |
Json.createGenerator(Writer writer)
Creates a JSON generator for writing JSON to a character stream.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
SerializationContext.serialize(String key,
T object,
JsonGenerator generator)
Serializes arbitrary object to JSON, using current
JsonGenerator instance. |
<T> void |
SerializationContext.serialize(T object,
JsonGenerator generator)
Serializes arbitrary object to JSON, using current
JsonGenerator instance. |
void |
JsonbSerializer.serialize(T obj,
JsonGenerator generator,
SerializationContext ctx)
Serializes object into JSON stream.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonGenerator |
JsonProvider.createGenerator(OutputStream out)
Creates a JSON generator for writing JSON text to a byte stream.
|
abstract JsonGenerator |
JsonProvider.createGenerator(Writer writer)
Creates a JSON generator for writing JSON text to a character stream.
|
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorFactory.createGenerator(OutputStream out)
Creates a JSON generator to write JSON text to a byte stream.
|
JsonGenerator |
JsonGeneratorFactory.createGenerator(OutputStream out,
Charset charset)
Creates a JSON generator to write JSON text to a byte stream.
|
JsonGenerator |
JsonGeneratorFactory.createGenerator(Writer writer)
Creates a JSON generator to write JSON text to a character stream.
|
JsonGenerator |
JsonGenerator.write(BigDecimal value)
Writes the specified value as a JSON number value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(BigInteger value)
Writes the specified value as a JSON number value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(boolean value)
Writes a JSON true or false value within the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(double value)
Writes the specified value as a JSON number value within the current
array, field or root context.
|
JsonGenerator |
JsonGenerator.write(int value)
Writes the specified value as a JSON number value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(JsonValue value)
Writes the specified value as a JSON value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(long value)
Writes the specified value as a JSON number value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(String value)
Writes the specified value as a JSON string value within
the current array, field or root context.
|
JsonGenerator |
JsonGenerator.write(String name,
BigDecimal value)
Writes a JSON name/number value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
BigInteger value)
Writes a JSON name/number value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
boolean value)
Writes a JSON name/boolean value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
double value)
Writes a JSON name/number value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
int value)
Writes a JSON name/number value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
JsonValue value)
Writes a JSON name/value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
long value)
Writes a JSON name/number value pair in the current object context.
|
JsonGenerator |
JsonGenerator.write(String name,
String value)
Writes a JSON name/string value pair in the current object context.
|
JsonGenerator |
JsonGenerator.writeEnd()
Writes the end of the current context.
|
JsonGenerator |
JsonGenerator.writeKey(String name)
Writes the JSON name with a colon.
|
JsonGenerator |
JsonGenerator.writeNull()
Writes a JSON null value within the current array, field or root context.
|
JsonGenerator |
JsonGenerator.writeNull(String name)
Writes a JSON name/null value pair in an current object context.
|
JsonGenerator |
JsonGenerator.writeStartArray()
Writes the JSON start array character.
|
JsonGenerator |
JsonGenerator.writeStartArray(String name)
Writes the JSON name/start array character pair with in the current
object context.
|
JsonGenerator |
JsonGenerator.writeStartObject()
Writes the JSON start object character.
|
JsonGenerator |
JsonGenerator.writeStartObject(String name)
Writes the JSON name/start object character pair in the current
object context.
|
Modifier and Type | Method and Description |
---|---|
static JsonGenerator |
JsonLoader.createGenerator(OutputStream out) |
static JsonGenerator |
JsonLoader.createGenerator(Writer writer) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.