jsonfilter and queries with '-' in them

Jo-Philipp Wich jo at mein.io
Wed Aug 12 16:53:29 EDT 2020


Hi,

as already implied by Dirk, you need to use bracket notation for labels that
are not valid variable identifiers.

So instead of `@.foo-bar` use `@["foo-bar"]`.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20200812/a866d725/attachment.sig>


More information about the openwrt-devel mailing list