thetribe/json
Composer 安装命令:
composer require thetribe/json
包简介
json_encode/json_decode wrapper
README 文档
README
thetribe/json is a small wrapper around the json_* fonctions that does two things:
- Convert errors to exceptions
- Normalize parameters
Install
Install thetribe/json using Composer.
composer require thetribe/json
Usage
Decoding
<?php use function TheTribe\JSON\decode; $value = decode($json, $options, $depth);
Encoding
<?php use function TheTribe\JSON\encode; $json = encode($value, $options, $depth);
统计信息
- 总下载量: 4.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-14