Source Code:
(back to article)
<?php $jsonData = '{"id":1,"category":"Programmiersprachen","name":"Php","type":"Server Side"}'; $obj = json_decode($jsonData); //Drucken von analysierten Daten echo $obj->name; //print Php echo $obj->id; //print 1 ?>
Result:
Report an issue