2017-02-27 94 views
-2

如何JSON解碼在PHP如何JSON解碼在PHP

{ 
    TestID": 1, 
    UserID": 1, 
    TotalAttempted": 1, 
    TotalQuestion": 1, 
    LeftQuestion": 1, 
    CorrectQuestion": 1, 
    IncorrectQuestion": 1, 
    TimeTaken": 1, 
    "msg": [ 
     { 
      "QuestionID": 5, 
      "IsTrue": 1, 
      "GivenAnswer": 1 
     }, 
    ] 
} 
+2

use' json_decode'看到[手冊](http://php.net/manual/en/function.json-decode.php) – gaurav

+0

好的,謝謝你的合作 –

回答