json-document-transforms
json-document-transforms copied to clipboard
Add support for root-level arrays
Currently, the root-level element cannot be an array, the transformation will fail. First off, I think we need to add better error handling to improve the user experience. Then, look into supporting this without breaking transformations.
See: https://github.com/Microsoft/slow-cheetah/issues/92
https://www.json.org/json-en.html specifies that JSON must start with curly braces.