hjpath
Hjpath is Haskell library for XPath-like queries on JSON code. It’s based on hjson 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.
**/something
Get it
Last edited: Voker57 on Mon Feb 22 15:01:59 +0000 2010