| Package | Description |
|---|---|
| javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
| org.glassfish.json |
| Modifier and Type | Field and Description |
|---|---|
private JsonLocation |
JsonParsingException.location |
| Modifier and Type | Method and Description |
|---|---|
JsonLocation |
JsonParser.getLocation()
Return the location that corresponds to the parser's current state in
the JSON input source.
|
JsonLocation |
JsonParsingException.getLocation()
Return the location of the incorrect JSON.
|
| Constructor and Description |
|---|
JsonParsingException(java.lang.String message,
JsonLocation location)
Constructs a new runtime exception with the specified detail message.
|
JsonParsingException(java.lang.String message,
java.lang.Throwable cause,
JsonLocation location)
Constructs a new runtime exception with the specified detail message and
cause.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
JsonLocationImpl |
| Modifier and Type | Field and Description |
|---|---|
(package private) static JsonLocation |
JsonLocationImpl.UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
JsonLocation |
JsonParserImpl.getLastCharLocation() |
(package private) JsonLocation |
JsonTokenizer.getLastCharLocation() |
JsonLocation |
JsonParserImpl.getLocation() |
JsonLocation |
JsonStructureParser.getLocation() |
(package private) JsonLocation |
JsonTokenizer.getLocation() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.lang.String |
JsonMessages.PARSER_INVALID_TOKEN(JsonTokenizer.JsonToken token,
JsonLocation location,
java.lang.String expectedTokens) |
(package private) static java.lang.String |
JsonMessages.TOKENIZER_EXPECTED_CHAR(int unexpected,
JsonLocation location,
char expected) |
(package private) static java.lang.String |
JsonMessages.TOKENIZER_UNEXPECTED_CHAR(int unexpected,
JsonLocation location) |