Allow path specifications to refer to just '@' or '$' which is useful for
exporting the keys or array indizes of the toplevel object to the shell.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.
I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.
However, I can not garantee that I always picked the correct information
and/or did not miss license information.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43155
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>
SVN-Revision: 41266
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>
SVN-Revision: 41258