- Note, the actual API call is considered committed and will not disappear, however the existence of the various string settings are dependendent on the actual settings they map to. It is recommended that applications use the numerical lcb_cntl() as the string names are subject to change.
Load a JSON-based configuration string into a configuration object
Parameters
vbc
Object to populate
data
NUL-terminated string to parse
Returns
0 on success, nonzero on failure
Note
it is recommended to use this function rather than lcbvb_parse_json() as this will contain the error string in the configuration in case of parse failures.
globalScope> Global lcbvb_map_key (lcbvb_CONFIG *cfg, const void *key, lcb_SIZE n, int *vbid, int *srvix)