json:用于 php json encodedecode 函数的 Json 包装器

时间:2021-07-18 23:53:16
【文件属性】:
文件名称:json:用于 php json encodedecode 函数的 Json 包装器
文件大小:11KB
文件格式:ZIP
更新时间:2021-07-18 23:53:16
PHP 用于 php json 编码/解码功能的 json 包装器 <?php use Json \ JsonArrayDecoder ; use Json \ Exception \ JsonException ; try { $ string = '{"name":"value"}' ; $ decoder = new JsonArrayDecoder (); $ decoded = $ decoder -> decode ( $ string ); } catch ( JsonException $ e ) { echo $ e -> getMessage (); }
【文件预览】:
json-master
----src()
--------compatible.php(332B)
--------Json()
----.travis.yml(137B)
----LICENSE(1KB)
----test()
--------Json()
----phpunit.xml(451B)
----README.md(589B)
----.gitignore(22B)
----composer.json(381B)

网友评论