文字

JavaScript对象符号(JSON)

  • 简介
  • 安装/配置
    • 需求
    • 安装
    • 运行时配置
    • 资源类型
  • 预定义常量
  • JsonSerializable — JSON 序列化接口
    • JsonSerializable::jsonSerialize — 指定需要被序列化成 JSON 的数据
  • JSON 函数
    • json_decode — 对 JSON 格式的字符串进行编码
    • json_encode — 对变量进行 JSON 编码
    • json_last_error_msg — Returns the error string of the last json_encode() or json_decode() call
    • json_last_error — 返回最后发生的错误
上一篇: 下一篇: