Make brackets optional for array.*
tlhunter opened this issue · comments
Thomas Hunter II commented
If the first character in an array.
field is a bracket, then treat it as a JSON string and parse it like we do today.
Otherwise, split the string on commas and then convert each field into the expected type. This will have no side effects for integers, floats, or booleans.
If strings are complex, e.g. contain commas, then the author should continue to use brackets/quotes/JSON styntax. Won't need to support quotes for strings without brackets, that'll be unnecessarily complex.