settings_to_state

Function settings_to_state 

Source
pub fn settings_to_state(settings: &[ConfigSetting]) -> Value
Expand description

Builds the nested state tree described by settings.

Dotted keys expand into nested objects, and each value is inserted whole, so an object-valued setting keeps entry keys that themselves contain dots (intake URLs, for example) intact.