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.
|
Modifier and Type | Method and Description |
---|---|
static JsonParser |
Json.createParser(InputStream in)
Creates a JSON parser from a byte stream.
|
static JsonParser |
Json.createParser(Reader reader)
Creates a JSON parser from a character stream.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
DeserializationContext.deserialize(Class<T> clazz,
JsonParser parser)
Deserialize JSON stream into instance of provided class using
JsonParser . |
T |
JsonbDeserializer.deserialize(JsonParser parser,
DeserializationContext ctx,
Type rtType)
Deserialize JSON stream into object.
|
<T> T |
DeserializationContext.deserialize(Type type,
JsonParser parser)
Deserialize JSON stream into instance of provided class using
JsonParser . |
Modifier and Type | Method and Description |
---|---|
abstract JsonParser |
JsonProvider.createParser(InputStream in)
Creates a JSON parser from the specified byte stream.
|
abstract JsonParser |
JsonProvider.createParser(Reader reader)
Creates a JSON parser from a character stream.
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
JsonParserFactory.createParser(InputStream in)
Creates a JSON parser from the specified byte stream.
|
JsonParser |
JsonParserFactory.createParser(InputStream in,
Charset charset)
Creates a JSON parser from the specified byte stream.
|
JsonParser |
JsonParserFactory.createParser(JsonArray array)
Creates a JSON parser from the specified JSON array.
|
JsonParser |
JsonParserFactory.createParser(JsonObject obj)
Creates a JSON parser from the specified JSON object.
|
JsonParser |
JsonParserFactory.createParser(Reader reader)
Creates a JSON parser from a character stream.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.