| Package | Description |
|---|---|
| javax.json |
Provides an object model API to process JSON.
|
| 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.glassfish.json |
| Modifier and Type | Method | 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 | 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 | 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(Reader reader) |
Creates a JSON parser from a character 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.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
JsonParserImpl |
JSON parser implementation.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonParser |
JsonProviderImpl.createParser(InputStream in) |
|
JsonParser |
JsonProviderImpl.createParser(Reader reader) |
Copyright © 2018 Oracle. All rights reserved.