# Module Json_io.Compact

    module Compact: sig .. end

Conversion of JSON data to compact text.

    val print : ?allow_nan:bool -> ?recursive:bool -> Format.formatter -> Json_type.t -> unit

Generic printing function without superfluous space. 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.