GitHunt
IL

ilinsky/json-xpath

Query JSON objects with XPath 2.0

json-xpath

Query JSON objects with XPath 2.0

<script type="text/javascript" src="json.xpath.js"></script>

API

(array) JSON.xpath(expression[, context[, scope]])

Here: expression is the XPath 2.0 query string, context - JSON object to be evaluated, scope - hash object with variables to be exposed to evaluation engine at runtime.

Languages

JavaScript91.8%PHP6.7%HTML1.5%ApacheConf0.0%

Contributors

Created August 22, 2015
Updated December 25, 2024