- json_decode: documentation ( source)
<?php
$json = '{"id":15,"description":"new product","pic1":"15682078931.jpg","pic2":"15682078632.jpg","pic3":"15682078633.jpg","pic4":"15682078634.png","pic5":"15682078635.jpg"}';
$product = json_decode($json);
echo $product->pic1;
?>