を呼び出すとJSON.stringify
、 のような JSON 文字列を取得します[{"id":"001","name":"Mary"},{"id":"002","name":
"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"}
]