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

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

JSON编码和解码的PHP

  • 资源大小:34.98 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分: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