Registry / utility / seld-jsonlint

seld-jsonlint

JSON →
library1.12.1phppackagistunverified

JSON Linter

composer require seld/jsonlint
INSTALL
IMPORT
SIG · SELD-JSONLINT
S
seld-jsonlint
utilityphpv1.12.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonParser
use Seld\JsonLint\JsonParser;

Parse and validate a JSON string

use Seld\JsonLint\JsonParser; $parser = new JsonParser(); try { $parser->parse('{"key": "value"}'); echo 'Valid JSON'; } catch (\Exception $e) { echo $e->getMessage(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.12.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
seld-jsonlint — pip install seld-jsonlint · libregistry