Adds a JSON Path to exceptions thrown by the delegate Visitor.
Useful for debugging failures. Adds ~10% overhead depending on the parser.
Attributes
- See also
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TraceVisitor.type
Members list
Type members
Classlikes
Internally, the paths form a linked list back to the root by the visitors themselves. Compared to something like a List[String] or List[Object], this does not require extra String allocation or boxing unless we actually ask for the path.
Internally, the paths form a linked list back to the root by the visitors themselves. Compared to something like a List[String] or List[Object], this does not require extra String allocation or boxing unless we actually ask for the path.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object RootHasPath.type
Attributes
- Supertypes
- Self type
-
RootHasPath.type
JSON Path indicating where the problem occurred. Added as a suppressed exception.
JSON Path indicating where the problem occurred. Added as a suppressed exception.
Attributes
- Supertypes
-
trait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any