safiresh / chrome-rest-client

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

Empty array in JSON parse show like [0] instead of [] #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you receive some like {"hello":[]} it is showed like:

{
    hello: [0]
}

instead of:

{
    hello: []
}

I think too that key need be a string like:

{
    "hello": []
}

It turn easy you copy that like a valid JSON.

Original issue reported on code.google.com by david.pr...@gmail.com on 21 Apr 2014 at 9:27

Attachments:

GoogleCodeExporter commented 9 years ago
Oh, sorry! Now I get how it works. :D

Original comment by david.pr...@gmail.com on 21 Apr 2014 at 9:54