| Package | Description |
|---|---|
| javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
| org.glassfish.json |
| Modifier and Type | Method | 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 | Description |
|---|---|
JsonParsingException(String message,
Throwable cause,
JsonLocation location) |
Constructs a new runtime exception with the specified detail message and
cause.
|
JsonParsingException(String message,
JsonLocation location) |
Constructs a new runtime exception with the specified detail message.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonLocation |
JsonParserImpl.getLastCharLocation() |
|
JsonLocation |
JsonParserImpl.getLocation() |
Copyright © 2017 Oracle. All rights reserved.