You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a JSON array I would like to Stringify. It is unnamed. The current POCO Array code works as expected.
However as the JSON array is the only item I am writing to the file, I would like to write the contents without the brackets "[ ]" (e.g. a list of comma separated JSON objects).
What is the easiest way to do this without creating another stringify() method?
When reading the file into Snowflake, the brackets cause a level of indirection that expensive (processing) to resolve. If I simply write the array without the brackets, all is well. A person I spoke with said the inclusion of brackets for the the single unnamed array is "non-conforming" JSON. Not sure what that really means.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a JSON array I would like to Stringify. It is unnamed. The current POCO Array code works as expected.
However as the JSON array is the only item I am writing to the file, I would like to write the contents without the brackets "[ ]" (e.g. a list of comma separated JSON objects).
What is the easiest way to do this without creating another stringify() method?
When reading the file into Snowflake, the brackets cause a level of indirection that expensive (processing) to resolve. If I simply write the array without the brackets, all is well. A person I spoke with said the inclusion of brackets for the the single unnamed array is "non-conforming" JSON. Not sure what that really means.
Beta Was this translation helpful? Give feedback.
All reactions