Module Pattern.Json

val string_of_yojson : string -> Yojson.Safe.t -> (string, string) Stdlib.result
val bool_of_yojson : Yojson.Safe.t -> bool
val captures_of_yojson : Yojson.Safe.t -> Capture.t list
val regex_of_yojson : ?⁠allowBackReferences:bool -> [> `String of string ] -> (RegExpFactory.t, string) Stdlib.result
val match_of_yojson : Yojson.Safe.t -> (t, string) Stdlib.result
val of_yojson : string -> Yojson.Safe.t -> (t, string) Stdlib.result
val matchRange_of_yojson : string -> Yojson.Safe.t -> (t, string) Stdlib.result
val of_string : string -> string -> (t, string) Stdlib.result