Takes an optionally nested textobject structure and convert to a flat structure. Nested keys are joined with a dot ".". Deep nesting is supported.
Given the following:
{ "foo": { "bar": "text" }} Copy
{ "foo": { "bar": "text" }}
It would produce the following output:
{ "foo.bar": "text"} Copy
{ "foo.bar": "text"}
If the src object is already flat the output will be the same.
Source data
Optional
Destination to write temporary result to.
If set this is prefixed to all keys.
Takes an optionally nested textobject structure and convert to a flat structure. Nested keys are joined with a dot ".". Deep nesting is supported.
Given the following:
It would produce the following output:
If the src object is already flat the output will be the same.