orbednetwork / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

Comma separator dropped in JSON formatting #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I received this JSON:

{"jsonrpc":"2.0","id":123}

And then asked to format as JSON, it displays it like this:

{
    jsonrpc: "2.0"
    id: 123
}

The comma after the "2.0" is missing.

Original issue reported on code.google.com by tedyo...@gmail.com on 3 May 2013 at 4:46

GoogleCodeExporter commented 9 years ago
Hi,
Thanks for your issue report. 
It's behavior is by design. JSON viewer it's just to better visualize the 
result of a request. Coma is not crucial for understanding JSON structure so 
it's redundant. Main objective is to keep it simple and I believe I'm doing it 
this way.

Original comment by jarro...@gmail.com on 5 May 2013 at 5:21

GoogleCodeExporter commented 9 years ago
I understand. I disagree, since every other JSON tool I've used does not drop 
commas, but thanks for making your decision clear.

Original comment by tedyo...@gmail.com on 5 May 2013 at 5:57