GobConfig.ImplThe implementation of the gobConfig module.
val get_json : string -> Yojson.Safe.tGet JSON value at a given path.
val set_json : string -> Yojson.Safe.t -> unitDirectly set a JSON value; the result must conform to the schema.
val get_conf : unit -> Yojson.Safe.tEquivalent to get_json "".
val set_conf : Yojson.Safe.t -> unitEquivalent to set_conf "".
Functions 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.