When I call JSON.stringify, I get a JSON string like [{"id":"001","name":"Mary"},{"id":"002","name":. How can I make it so that it looks like this?
"Tom"}]
[
{id: 7, name: "Ruby"},
{id: 29, name: "C#"},
{id: 31, name: "Fortran"},
{id: 37, name: "Visual Basic"},
{id: 41, name: "C"},
{id: 43, name: "C++"},
{id: 47, name: "Java"}
]
Okay, so apparently you want to take out the quotes and indent it nicely? Then I would do that beforehand: