PHP convert string object into JSON array
<p>How can I convert this</p>

<pre><code>$shipmentDet = '{"{\"Coupon\": \"\", \"PromotionName\": \"FREE Tighty Wifey\", \"DiscountAmount\": 23.75}","{\"Coupon\": \"get20\", \"PromotionName\": \"GET20\", \"DiscountAmount\": 20}"}'
</code></pre>

<p>I need to convert the string object into JSON array using PHP.</p>

<p>I have used the json_decode() but, it does not work properly</p>

<pre><code>$shipmentRec = (array)json_decode($shipmentDet, true);
</code></pre>