package of_json

  1. Overview
  2. Docs

Module Of_json.Conv_failureSource

Sourcetype t
Sourceval to_string_hum : t -> string

to_string_hum returns the JSON context stack as a string that reads well if printed directly. That string cannot be used as a sexp atom: the backslash-escaping would render it illegible.

Sourceval extract_exn : t -> exn

extract_exn returns the exception that caused the failure

OCaml

Innovation. Community. Security.