callumlocke / json-formatter

Makes JSON easy to read.
https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en
BSD 3-Clause "New" or "Revised" License
3.77k stars 860 forks source link

Multi-dimensional arrays not being formatted. #133

Open hippoduck opened 6 years ago

hippoduck commented 6 years ago

This is correctly formatted JSON however the formatter doesn't detect it.

[ { "skuNumber": "123", "skuName": "product name", "active": 1, "quantity": 1, "allocated": 0, "barcode": null }, { "skuNumber": "123", "skuName": "product name", "active": 1, "quantity": 1, "allocated": 0, "barcode": null }, ]

lauriro commented 5 years ago

This is not a correct json, although latest ecmascript allows trailing comma, json does not.