title: get field and value from json using javascript
body: <p>Now my json is like this </p>
  
  <pre><code>{
  "1": "a",
  "2": "b",
  "3": "c",
  }
  </code></pre>
  
  <p>And from this, I am going to get value like this</p>
  
  <pre><code>[
  {
   "id": 1,
  "value": "a"
  },
  {
   "id": 2,
  "value": "b"
  },
  {
   "id": 3,
  "value": "c"
  },
  ]
  </code></pre>
  
  <p>I tried to use JSON.parse() but I got unexpected token error.
  How can I make this?</p>