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

new file: code/hjpath

File created: code/hjpath [Diff]

-- /dev/null++ b/code/hjpath
@@ -1 +1,13 @@
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

By Voker57 on 2009-10-15 09:32:07 +0000