schema-driven normalization of config data #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For readability, it's nice to use atoms and list-based strings in config files,
but this means that config data (if not already json) needs to be normalized.
One simple normalization step would be
json_decode(json_encode(Data))
,but most json libraries dislike strings-as-lists, as they can't be distinguished from
arrays.
With the schema already loaded, we can easily make this distinction, though.