JsonPointerVisitor

Adds a JSON Pointer to exceptions thrown by the delegate Visitor.

JSON Pointer is standardized by RFC 6901 and commonly used by JSON Schema.

Useful for debugging failures. Adds ~10% overhead depending on the parser.

See also
class Object
trait Matchable
class Any

Type members

Classlikes

class JsonPointerException(val jsonPointer: String, cause: Throwable) extends Exception with NoStackTrace

JSON Pointer indicating where the problem occurred. Added as a suppressed exception.

JSON Pointer indicating where the problem occurred. Added as a suppressed exception.

Value Params
jsonPointer

e.g. "/hits/hits/3/_source/foo/bar"

See also

Value members

Concrete methods

def apply[T, J](delegate: Visitor[T, J]): Visitor[T, J]