title: how to remove square bracket in json formate string?
body: <p>Remove the square bracket in this string.    </p>
  
  <pre><code>{"id":[1],"latitude":[12.45787],"longitude":[11.77878]}
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>{"id":1,"latitude":12.45787,"longitude":11.77878}
  </code></pre>