Module Json_io.Pretty


module Pretty: sig .. end
Conversion of JSON data to indented text.

val print : ?allow_nan:bool -> ?recursive:bool -> Format.formatter -> Json_type.t -> unit
Generic pretty-printing function. See the standard Format module for how to create and use formatters.

In general, Json_io.string_of_json and Json_io.save_json are more convenient.