josdejong / jsoneditor

A web-based tool to view, edit, format, and validate JSON
http://jsoneditoronline.org
Apache License 2.0
11.62k stars 2.04k forks source link

Support for JSONL (newline-delimited JSON) #444

Open facundofarias opened 7 years ago

facundofarias commented 7 years ago

Mixpanel is returning raw data in this format:

Data returned from this endpoint is JSONL (newline-delimited JSON). Most receiving client libraries will automatically assume it gets a JSON string back and attempt to decode it. This specific API does not return valid JSON in aggregate, but each row is valid JSON within the API's output. Thus, raw exports, once received in full, should be parsed line-by-line instead of as an array of JSON objects. https://mixpanel.com/help/reference/exporting-raw-data

Will this format be supported in the near future? Thanks

josdejong commented 7 years ago

Would definitely be interesting to see if we can add support for JSONL!

I don't think this would be implemented any time soon though (at least not by me, but maybe someone is interested to pick it up).