Code has been added to clipboard!
Use of PHP json_decode
Example
<?php
$myObj->fruit = "Banana";
$myObj->expires = 2017;
$myObj->country = "Lithuania";
$exampleJSON = json_encode($myObj);
echo $exampleJSON;
?>
Code has been added to clipboard!
<?php
$myObj->fruit = "Banana";
$myObj->expires = 2017;
$myObj->country = "Lithuania";
$exampleJSON = json_encode($myObj);
echo $exampleJSON;
?>