public
Description: Perl port of JSONPath
Homepage:
Clone URL: git://github.com/masukomi/jsonpath-perl.git
Attempting to get tables to show up correctly in readme on GitHub
Kate Rhodes (author)
Fri Nov 07 14:43:01 -0800 2008
commit  3bf117f5ffbc9970d78e693fc4acff555b90284c
tree    8f98f06b05ee90462eb2462ab5f0f72c52831af6
parent  2a23a4c0246828ab1f90362b2b2bc686c33d35f6
...
29
30
31
 
32
33
34
...
29
30
31
32
33
34
35
0
@@ -29,6 +29,7 @@ using the symbol '@' for the current object. Filter expressions are supported vi
0
   $.store.book[?(@.price < 10)].title
0
 
0
 Here is a complete overview and a side by side comparison of the JSONPath syntax elements with its XPath counterparts.
0
+
0
 <table><tr class="evn"><td> <strong>XPath</strong> </td><td> <strong>JSONPath</strong> </td><td> <strong>Result</strong> </td></tr>
0
 <tr class="odd"><td class="lft"><code>/store/book/author</code> </td><td class="lft"><code>$.store.book[*].author</code> </td><td class="lft">the authors of all books in the store </td></tr>
0
 <tr class="evn"><td class="lft"><code>//author</code> </td><td class="lft"><code>$..author</code> </td><td class="lft">all authors </td></tr>

Comments