Package | Description |
---|---|
jakarta.json.stream |
Provides a streaming API to parse and generate
JSON.
|
Modifier and Type | Method and Description |
---|---|
JsonLocation |
JsonParsingException.getLocation()
Return the location of the incorrect JSON.
|
JsonLocation |
JsonParser.getLocation()
Return the location that corresponds to the parser's current state in
the JSON input source.
|
Constructor and Description |
---|
JsonParsingException(String message,
JsonLocation location)
Constructs a new runtime exception with the specified detail message.
|
JsonParsingException(String message,
Throwable cause,
JsonLocation location)
Constructs a new runtime exception with the specified detail message and
cause.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.