title: How to convert Json string with key-value pair into string with only values in javascript
body: <p>How to convert JSON string with key-value pair into string with only values in javascript.</p>
  
  <p>For example my JSON output looks like this </p>
  
  <pre><code>{
    "data": {
      "BearCollection": {
        "BearDetails": [
          {
            "Name": "James",
            "x": "81.43410000",
            "y": "6.32813300"
          },
          {
            "Name": "James",
            "x": "81.43489000",
            "y": "6.32763300"
          },
          {
            "Name": "Sera",
            "x": "81.4377000",
            "y": "6.32453300"
          }
        ]
      }
    },
    "xhr": {}
  }
  </code></pre>
  
  <p>I want to convert it using javascript as </p>
  
  <pre><code>var details=[
    [
      "James",
      81.4341,
      6.328133
    ],
    [
      "James",
      81.43489,
      6.327633
    ],
    [
      "Sera",
      81.4377,
      6.324533
    ]
  ];
  </code></pre>
  
  <p>Is there any way to do this?</p>