Function json_to_config_val

Source
pub(crate) fn json_to_config_val(
    json: &Value,
    template: &ConfigVal,
) -> Result<ConfigVal, Error>
Expand description

Convert a JSON value to a ConfigVal, using the existing value as a template for the type