我試圖解碼做解碼此JSON文件如何JSON文件在PHP
{"name":"apple","price":1.2312312331231232e 23,"qty":-1,"num":5,"color":"","category":"FRUITS","_id":"VZbGneNygMKYCijr"}\n{"name":"orange","price":12,"qty":-7,"num":2,"color":"","category":"FRUITS","_id":"d892zf2ccyNlPAZM"}\n{"name":"apple","price":12,"qty":-5,"num":4,"color":"","category":"FRUITS","_id":"dja3UQ7vBUs1xBHw"}\n{"name":"apple","price":12,"qty":-7,"num":1,"color":"","category":"FRUITS","_id":"yZc1lMB0SKoSIsxw"}\n{"name":"apple","price":12,"qty":-8,"num":3,"color":"","category":"FRUITS","_id":"yyPn4UcDin6uAY52"}\n
你很努力,但什麼問題? – C2486
你有什麼試過?你知道['json_decode()'](http://php.net/manual/function.json-decode.php)? –
有太多可能的答案,或者對於這種格式,答案太長。請添加詳細信息以縮小答案集或隔離幾個段落中可以回答的問題。 –