问题描述:

Possible Duplicate:

how to decode this JSON string?

How to convert string to json in php ?

Example:

$data = '{"key": "value"}';

or

$data = "{\"key\": \"value\"}";

$data from string to json is required.

网友答案:

json_decode()

http://php.net/json-decode

相关阅读:
Top