JSON 函數(shù)

目錄

  • json_decode — 對 JSON 格式的字符串進(jìn)行解碼
  • json_encode — 對變量進(jìn)行 JSON 編碼
  • json_last_error_msg — 返回最后一次調(diào)用 json_encode() 或 json_decode() 時(shí)產(chǎn)生的錯(cuò)誤信息
  • json_last_error — 返回最后發(fā)生的錯(cuò)誤