Use the second parameter of json_decode
to make it return an array:
$result = json_decode($data, true);
More Related Contents:
- nested json using php and mysql
- how to use json_encode for my output?
- Extracting data from Json in Php
- I keep getting these kind of errors in terms of HttpUrlConnection and BackGroundTask in android
- How to convert the json image url string into Bitmap image to display images in android application
- Pretty-Printing JSON with PHP
- Reference: Why are my “special” Unicode characters encoded weird using json_encode?
- Processing large JSON files in PHP
- json_encode() escaping forward slashes
- PHP Array to JSON Array using json_encode(); [duplicate]
- PHP json_encode class private members
- How to create a JSON object
- PHP returning JSON to JQUERY AJAX CALL
- Append data to a .JSON file with PHP
- PHP decoding and encoding json with unicode characters
- PHP date format /Date(1365004652303-0500)/
- Converting Object to JSON and JSON to Object in PHP, (library like Gson for Java)
- How to deal with backslashes in json strings php
- Submitting JSON data via JQuery ajax.post to PHP
- How to convert a string to JSON object in PHP
- How to decode a JSON String
- How to render ZF2 view within JSON response?
- json_encode() non utf-8 strings?
- create nested JSON object in php?
- PHP json_decode() returns NULL with seemingly valid JSON?
- pass arraylist bean from android to webservice php
- file_get_contents throws 400 Bad Request error PHP
- How to iterate through a nested stdClass? [duplicate]
- Why are escape characters being added to the value of the hidden input
- Read JSON Data Using PHP [duplicate]