JSON Export is invalid (not a JSON array)


#1

I’ve exported a recorded stream and the JSON export gives me all interactions as a collection of JSON objects (as mentioned in the docs also)
What is the best strategy to further use this data via any programming language?

As far as I see it, the elements need the enclosing square brackets and be comma-separated to be parseble by most JSON libraries?

Any help/feedback would be appreciated.

Thanks!


#2

Each single line in the JSON export is a complete JSON object. Reading the file line by line will allow you to process your interactions. Here is an example in PHP: