Skip to content

ilinsky/json-xpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.