json to php variable online code example Example: php json decode $obj = json_decode("{string:'string'}");