Your JSON data is not well formatted as it looks like you have multiple events in a single json object. For json settings to work your data must look something like whats below foreach event:
{"2015-08-02": {
"downloads": 49,
"updates": 4,
"returns": 0,
"net_downloads": 49,
"promos": 0,
"revenue": "54.98",
"edu_downloads": 0,
"gifts": 0,
"gift_redemptions": 0,
"date": "2015-08-02"
}
}
The way you appear to be breaking data your event looks something like what below which is not proper json:
"2015-08-02": {
"downloads": 49,
"updates": 4,
"returns": 0,
"net_downloads": 49,
"promos": 0,
"revenue": "54.98",
"edu_downloads": 0,
"gifts": 0,
"gift_redemptions": 0,
"date": "2015-08-02"
}
You could write a script to encapsulate each event in {}.
If you just care about breaking the event correctly and not about it being in proper json you could use the following
[kindofJSON]
BREAK_ONLY_BEFORE="\d{4}-\d{2}-\d{2}":
... View more