Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-flow-jsonpath - JSONPath implementation for parsing, searching and flattening arrays

Website:
https://github.com/FlowCommunications/JSONPath
Licence:
MIT
Vendor:
Remi Collet
Description:
This is a JSONPath [1] implementation for PHP based on Stefan Goessner's
JSONPath script.

JSONPath is an XPath-like expression language for filtering, flattening and
extracting data.

I believe that is improves on the original script (which was last updated in
2007) by doing a few things:
* Object-oriented code (should be easier to manage or extend in future)
* Expressions are parsed into tokens using some code cribbed from Doctrine
  Lexer and cached
* There is no eval() in use
* Performance is pretty much the same
* Any combination of objects/arrays/ArrayAccess-objects can be used as the data
  input which is great if you're de-serializing JSON in to objects or if you
  want to process your own data structures.

Autoloader: /usr/share/php/Flow/JSONPath/autoload.php

[1] http://goessner.net/articles/JsonPath/

Packages

php-flow-jsonpath-0.3.4-1.el6.remi.noarch [13 KiB] Changelog by Shawn Iwinski (2017-08-20):
- Initial package