- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$json = '{"nombre": "Gorka", "conocimientos": {"java":"algo", "go": "aprendiendo", "c": "alto", "python": "alto", "php":"master and commander"}}';
$objetoJson = json_decode($json);
print_r($objetoJson);
$arrayJson = json_decode($json, true);
print_r($arrayJson);