InvalidJsonPathException

class InvalidJsonPathException(val text: String, val offset: Int, val reason: String) : IllegalArgumentException(source)

A JSONPath query or document filter that doesn't compile (SPEC.md §10.1, §10.5): a syntax or type error, or text beyond the limits. An IllegalArgumentException, as JsonPath.compile and the type paths of JsonStore.insert have always thrown.

Constructors

Link copied to clipboard
constructor(text: String, offset: Int, reason: String)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
val offset: Int

The character offset in text where the problem was found.

Link copied to clipboard

What is wrong, without the text and the offset.

Link copied to clipboard

The query as it was given.