GobConfig.ImplThe implementation of the gobConfig module.
val get_json : string -> Yojson.Safe.tFunctions to modify conf variables by trying to parse the value. The second argument must be valid Json except single quotes represent double quotes.
val get_list : string -> Yojson.Safe.t listGet a list of values
val set_list : string -> Yojson.Safe.t list -> unitSet a list of values
val write_file : Fpath.t -> unitWrite the current configuration to filename
val merge_file : Fpath.t -> unitMerge configurations from a file with current.
val merge : Yojson.Safe.t -> unitMerge configurations from a JSON object with current.
val json_conf : Yojson.Safe.t Prelude.ref