Registry / serialization / galbar-jsonpath

galbar-jsonpath

JSON →
library1.3.1phppackagistunverified

JSONPath implementation for querying and updating JSON objects.

composer require galbar/jsonpath
INSTALL
IMPORT
SIG · GALBAR-JSONPATH
G
galbar-jsonpath
serializationphpv1.3.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.

JsonPath
✓ use Galbar\JsonPath\JsonPath;

Query a JSON object using JSONPath expression.

use Galbar\JsonPath\JsonPath; $json = json_decode('{"store":{"book":[{"title":"Book A"}]}}'); $result = JsonPath::get($json, '$.store.book[*].title');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
galbar-jsonpath — pip install galbar-jsonpath · libregistry