Diff: [root] @ 55a60b7ce52 | faq | css

new file: code/hjpath

File created: 33188 code/hjpath [Diff]

diff --git a/code/hjpath b/code/hjpath
new file mode 100644
index 0000000..38a7acf
-- /dev/null
++ b/code/hjpath
@@ -0,0 +1,12 @@
h1. hjpath

Hjpath is Haskell library for XPath-like queries on JSON code. I's based on "json":http://hackage.haskell.org/package/json library.

Currently supported features:

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

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:32:07 +0400 Powered by bitcheese wiki engine