It will also return scalar values or NULL for certain scalar values, such as simple strings, "true", "false", and "null". Normally, json_decode() will return an object of \stdClass if the top level item in the JSON object is a dictionary or an indexed array if the JSON object is an array. The json_decode() function takes a JSON-encoded string as its first parameter and parses it into a PHP variable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |