Module Kwjson

module Kwjson: sig .. end

Simplistic Json Output


Author(s): Keith Waclena

type json = 
| String of string
| Num of int
| Float of float
| Bool of bool
| Null
| Array of json list
| Object of (string * json) list
The type of Json data.
val quote : string -> string
val to_string : ?minify:bool -> json -> string
to_string ?minify json: convert the json data to its string representation.
minify : whether or not to minify the json (default: false)
val rex : Str.regexp
rex: regular expression that matches a Json number