JsonPointerVisitor

com.rallyhealth.weepickle.v1.core.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.

Attributes

See also
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class JsonPointerException(val jsonPointer: String, cause: Throwable) extends Exception, 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 parameters

jsonPointer

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

Attributes

See also
Supertypes
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

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