| 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 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 |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JsonParserImpl
JSON parser implementation.
|
| Modifier and Type | Method and Description |
|---|---|
JsonParser |
JsonProviderImpl.createParser(InputStream in) |
JsonParser |
JsonProviderImpl.createParser(Reader reader) |
Copyright © 2025 Oracle. All rights reserved.