首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > JSON编码和解码的PHP

JSON编码和解码的PHP

  • 资源大小:34.98 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php 编码 json 解码

资 源 简 介

JSON encode and decode on PHP Since PHP/5.2.0 there is a feature json_encode() and json_decode(), but the choice of this class is preferable. JSON::encode() features * Not only works with UTF-8, but also with any other single-byte encodings (eg: windows-1251, koi8-r) * Is able to convert numbers represented a string data type into the corresponding numeric data types (optional) * Non-ASCII characters leave as is, and does not convert to uXXXX. JSON::decode() features * Converts malformed JSON to well-formed JSON.Hint: normalizes a "dirty" JSON string, coming from JavaScript (smart behavior -- only if necessary)

文 件 列 表

php-json-2.1.0
UTF8-CHANGELOG.txt
JSON.php
ReflectionTypeHint_example.php
UTF8.php
ReflectionTypeHint.php
VIP VIP
  • 壹零叁 1天前 成为了本站会员

  • blown 1天前 成为了本站会员

  • 归山 1天前 成为了本站会员

  • 星空 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 深蓝 1天前 成为了本站会员

  • 拉特兰公证所 2天前 成为了本站会员

  • 苍狼 2天前 成为了本站会员

  • 右手 2天前 成为了本站会员

  • 旺仔 2天前 成为了本站会员

0.190686s