Error.Context
JSON error contexts.
type index = string node * Path.index
The type for context indices. The kinded sort of an array or object and its index.
type t = index list
The type for erroring contexts. The first element indexes the root JSON value.
val empty : t
empty
is the empty context.
push_array kinded_sort n ctx
wraps ctx
as the n
th element of an array of kinded sort kinded_sort
.
push_object kinded_sort n ctx
wraps ctx
as the member named n
of an object of kinded sort kinded_sort
.