函数:

json_encode() - 对变量进行 JSON 编码

说明:

json_encode ( mixed $value [, int $options = 0 [, int $depth = 512 ]] ) : string

参数:

options=JSON_UNESCAPED_UNICODE 不要编码Unicode

注意:支持PHP5.4+

手册

相关文章:

  • 2022-12-23
  • 2021-06-08
  • 2021-09-01
  • 2022-01-08
  • 2021-12-10
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-08-19
相关资源
相似解决方案