Skip to content

liuwei000000/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.

About

Query JSON objects with XPath 2.0

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.8%
  • PHP 6.7%
  • HTML 1.5%