Clojush
Clojush copied to clipboard
JSON datafiles are malformed?
For some reason, the JSON logs I've been working with are comprised of multiple Array objects, which I'm pretty sure is a violation of the spec. I'm seeing:
[
{individual},
{individual},
...
{individual}
],
[
{individual},
{individual},
...
{individual}
],
... and so on
In other words, it has the structure [1,2,3],[4,5,6]...
, which can't be parsed by any of the readers I've come across. These expect a single root object.
Can this please be wrapped in square brackets so it's a valid object? That said, see the subsequent issue, which is a request for a more rational structure.
I will work on fixing this, and extract and refactor the JSON-writing code as well.