aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/jsonfilter
Commit message (Collapse)AuthorAgeFilesLines
* jsonfilter: implement custom separators and support limiting the results, ↵Jo-Philipp Wich2014-06-191-1/+1
| | | | | | | | fix handling of negative array indices Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* jsonfilter: improve error reportingJo-Philipp Wich2014-06-191-2/+2
| | | | | | | | | | | | The CLI now describes expression errors more precisely, e.g.: Syntax error: Invalid escape sequence In expression @["foo\x"] Near here ----------^ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* jsonpath: rename to jsonfilter and rewrite from flex/bison to lemonJo-Philipp Wich2014-06-181-0/+32
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python extension of the same name. The utility itself has been rewritten to use SQLite3's lemon parser generator instead of a flex/bison combination which results in a much smaller binary. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41258 3c298f89-4303-0410-b956-a3cf2f4a3e73