quantum13/php-json 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

quantum13/php-json

Composer 安装命令:

composer require quantum13/php-json

包简介

Another realization of json encode/decode

README 文档

README

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)

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: CC
  • 更新时间: 2015-05-20