jsonlint:适用于PHP的JSON Lint

时间:2021-04-06 08:31:45
【文件属性】:
文件名称:jsonlint:适用于PHP的JSON Lint
文件大小:15KB
文件格式:ZIP
更新时间:2021-04-06 08:31:45
PHP JSON Lint 用法 use Seld \ JsonLint \ JsonParser ; $ parser = new JsonParser (); // returns null if it's valid json, or a ParsingException object. $ parser -> lint ( $ json ); // Call getMessage() on the exception object to get // a well formatted error message error like this // Parse error on line 2: // ... "key": "value" "numbers": [1, 2, 3] // ----------------------^ // Expected one of: 'EOF',
【文件预览】:
jsonlint-main
----src()
--------Seld()
----bin()
--------jsonlint(3KB)
----LICENSE(1KB)
----composer.json(755B)
----CHANGELOG.md(2KB)
----README.md(3KB)
----phpstan.neon.dist(69B)

网友评论