phptestsoft/json
Composer 安装命令:
composer require phptestsoft/json
包简介
PHP library to encode and decode JSON
README 文档
README
API
To use the library, see the example below:
<?php
require_once 'vendor/autoload.php';
$data = [
'a' => 'test',
'b' => 'test'
];
$jsondata = \phptestsoft\Json::encode($data);
print_r($jsondata);
$data2 = \phptestsoft\Json::decode($jsondata);
print_r($data2);
License
Licensed under the Apache License, Version 2.0;
统计信息
- 总下载量: 148
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-22