deserializeKeyValues

Deserialize a KeyValues object into the given Layout.

A Layout is a struct defining the structure of the KeyValues object. A Layout must be a plain old struct (no fancy constructors), contain only basic types, similarly restricted structs, or arrays of the aforementioned types.

Layout
deserializeKeyValues
(
Layout
)
(,
string path = "root"
)

Parameters

root KeyValue

the object to deserialize

path string

for internal use only, used to report the path to missing keys

Meta