title: change json data to simple php array
body: <p>i want to change some <strong>JSON object data</strong> to <strong>PHP array</strong></p>
  
  <p><strong>Array i have :-</strong></p>
  
  <pre><code>'line_items' =&gt; 
    array (
      0 =&gt; '{"title":"ADIDAS | KID\'S STAN SMITH - 1 / white","product_id":1395863355492,"price":90,"variant_id":12486979027044,"quantity":2,"applied_discount":{"title":"DISCOUNT"}}',
      1 =&gt; '{"title":"ADIDAS | CLASSIC BACKPACK - OS / black","product_id":1395863945316,"price":70,"variant_id":12486982500452,"quantity":5,"applied_discount":{"title":"DISCOUNT","value_type":"fixed_amount","value":"10.00","amount":"50.00"}}',
      2 =&gt; '{"title":"Activity Auto - small / white","product_id":1396022444132,"price":14.99,"variant_id":12488662089828,"quantity":4,"applied_discount":{"title":"DISCOUNT"}}',
    ),
  </code></pre>
  
  <p><strong>Expected Array:</strong></p>
  
  <pre><code>'line_items' =&gt; 
    array (
      0 =&gt; 
      array (
        'title' =&gt; 'ADIDAS | KID\'S STAN SMITH - 1 / white',
        'product_id' =&gt; '1395863355492',
        'price' =&gt; '90',
        'variant_id' =&gt; '12486979027044',
        'quantity' =&gt; '2',
        'applied_discount' =&gt; 
        array (
          'title' =&gt; 'DISCOUNT',
        ),
      ),
      1 =&gt; 
      array (
        'title' =&gt; 'ADIDAS | CLASSIC BACKPACK - OS / black',
        'product_id' =&gt; '1395863945316',
        'price' =&gt; '70',
        'variant_id' =&gt; '12486982500452',
        'quantity' =&gt; '5',
        'applied_discount' =&gt; 
        array (
          'title' =&gt; 'DISCOUNT',
          'value_type' =&gt; 'fixed_amount',
          'value' =&gt; '10.00',
          'amount' =&gt; '50.00',
        ),
      ),
      2 =&gt; 
      array (
        'title' =&gt; 'Activity Auto - small / white',
        'product_id' =&gt; '1396022444132',
        'price' =&gt; '14.99',
        'variant_id' =&gt; '12488662089828',
        'quantity' =&gt; '4',
        'applied_discount' =&gt; 
        array (
          'title' =&gt; 'DISCOUNT',
        ),
      ),
    ),
  </code></pre>