Diff: [root] @ 2a6fcba40a3 | faq | css


File: code/hjpath [Diff]

diff --git a/code/hjpath b/code/hjpath
index 38a7acf..ddd28c6 100644
-- a/code/hjpath
++ b/code/hjpath
@@ -4,9 +4,9 @@ Hjpath is Haskell library for XPath-like queries on JSON code. I's based on "jso

Currently supported features:

* Object and array traversal: "/someobject/somearray[5]" @/someobject/somearray[5]@
* Negative indices for starting from array end: "/someobject/somearray[-1]" @/someobject/somearray[-1]@ for grabbing last entry
* * wildcard, matches any object or array element: "/someobject/*/anotherarray/*" @/someobject/*/anotherarray/*@
* ** wildcard, acts like "//" in XPath, matches any sequence of elements. @**/something@

Get it: "git.bitcheese.net":http://git.bitcheese.net/?a=summary&p=hjpath, "gitorious":http://www.gitorious.org/jpath
\ No newline at end of file

By Voker57 on 2009-10-15 13:49:30 +0400 Powered by bitcheese wiki engine