title: How to convert json format to php array
body: <p>I have a file of data.json that contain the data like these</p>
  
  <pre><code>    "meta": [
          "rectime",
          "strid",
          "ambt",
          "stri",
          "b1",
          "b2",
          "b3",
          "b4"
      ],
      "data": [
          [
              1377597739,
              1,
              0,
              77,
              816,
              13791,
              13794,
              13945
          ],
          [
              1377597739,
              2,
              0,
              0,
              816,
              13744,
              13725,
              13898
          ]
      ]
  }
  </code></pre>
  
  <p>and I want to convert this data into PHP array like these</p>
  
  <pre><code>&lt;?php
  header("Content-type: text/json");
  $data = array(
    'John' =&gt; array(10,4,6,5), 
    'Jane' =&gt; array(3,4,2,3), 
    'Joe' =&gt; array(6,7,9,7)
  );
  echo json_encode($data);
  ?&gt;
  </code></pre>
  
  <p>May anyone help me to suggest.</p>
  
  <p>Thanks For your help</p>