piedweb/rison
最新稳定版本:v0.1.899
Composer 安装命令:
composer require piedweb/rison
包简介
A PHP encoder and decoder for Rison, the compact JSON-like data format optimized for URIs.
README 文档
README
PHP Rison encoder - decoder
Rison is a compact data format optimized for URIs, a slight variation of JSON. This is a port from JS rison, forked from Marmelatze
Install
Via Packagist
$ composer require piedweb/rison
Usage
use \PiedWeb\Rison\...;
About rison
JSON:
{"a":0,"b":"foo","c":"23skidoo"}
URI-encoded JSON:
%7B%22a%22:0,%22b%22%3A%22foo%22%2C%22c%22%3A%2223skidoo%22%7D
Rison:
(a:0,b:foo,c:'23skidoo')
URI-encoded Rison:
(a:0,b:foo,c:'23skidoo')
Learn more about Rison :
Contributing
Please see contributing
Credits
- Original version by Marmelatze
- Forked and updated to modern PHP by Robin Delattre (Pied Web)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-11