spyrmp/json-serializer-deserializer
Composer 安装命令:
composer require spyrmp/json-serializer-deserializer
包简介
Serialize php arrays to json. Deserialize json to php arrays.
README 文档
README
This library is serializing simple php arrays to json string also deserialize json to php arrays
Install
This project can be installed via Composer run the following command:
composer require spyrmp/json-serializer-deserializer
Usage
$json = \Spyrmp\JsonSerializerDeserializer\Json::serialize(["name" => "test_name", "lastname" => "test_lastname"]); $deserializedJson = \Spyrmp\JsonSerializerDeserializer\Json::deserialize('{"name":"test_name","lastname":"test_lastname"}');
统计信息
- 总下载量: 89
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-12