GobConfigNew, untyped, path-based configuration subsystem.
path' ::== \epsilon (* *)
| . <field-name> path' (* field access *)
| [ <index-nr> ] path' (* array index access *)
| [ + ] path' (* cons to array *)
| [ - ] path' (* cons away from array *)
| [ * ] path' (* reset array *)
path ::== path' (* *)
| <field_name> path' (* you can leave out the first dot *)All functions failwith on error. Warnings are generated in verbose mode.
There is a "conf" trace option that traces setting.
val build_config : bool Prelude.refval phase : int Prelude.refval phase_config : bool Prelude.refmodule type S = sig ... endThe type for gobConfig module.
include module type of struct include Impl endFunctions 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 print : 'a BatInnerIO.output -> unitPrint the current configuration
val addenum_sch : Yojson.Safe.t -> unitAdd a schema to the conf