<?php. // The response from an API call.. $json_string = '{"array" : ["a", "b", "c"]}';. // Use json_decode to get a JSON object as a PHP associative array. ... <看更多>
This seems more like a PHP programming question, but yes as you guessed in PHP if you want the value of a variable you just need $var . echo ... ... <看更多>