Module Sch.Json

type format =
  1. | Minify
  2. | Indent of int
val decode : 'a t -> Js.Json.t -> 'a Validation.t
val decode_string : 'a t -> string -> 'a Validation.t
val coerce_string : 'a t -> string -> 'a Validation.t
val encode : 'a t -> 'a -> Js.Json.t
val encode_string : ?format:format -> 'a t -> 'a -> string