GobConfigSourceConfiguration access.
New, 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.
include module type of struct include Impl endGet JSON value at a given path.
Directly set a JSON value; the result must conform to the schema.
Equivalent to get_json "".
Equivalent to set_conf "".
Functions to query conf variable of type int.
Functions to modify conf variables of type int.
Functions to query conf variable of type bool.
Functions to modify conf variables of type bool.
Functions to query conf variable of type string.
Functions to modify conf variables of type string.
Functions to modify conf variables by trying to parse the value. The second argument must be valid Json except single quotes represent double quotes.
Get a list of values
Get a list of strings
Set a list of values
Merge configurations from a JSON object with current.
Check whether modification of configuration is currently allowed.
Run the given computation with modification to configuration disabled.