Data_encoding.Jsonval schema : ?definitions_path:string -> 'a encoding -> json_schemaConstruct a JSON object from an encoding.
Destruct a JSON object into a value. Fail with an exception if the JSON object and encoding do not match.
JSON Error
type path = path_item listand path_item = [ | `Field of stringA field in an object.
*)| `Index of intAn index in an array.
*)| `StarAny / every field or index.
*)| `NextThe next element after an array.
*) ]A set of accessors that point to a location in a JSON object.
exception Cannot_destruct of path * exnException raised by destructors, with the location in the original JSON structure and the specific error.
val print_error :
?print_unknown:(Format.formatter -> exn -> unit) ->
Format.formatter ->
exn ->
unitval cannot_destruct : ('a, Format.formatter, unit, 'b) Pervasives.format4 -> 'aHelpers for writing encoders.
val pp : Format.formatter -> json -> unit