Hi, > Ideally you should be able to use jsonfilter too but I don't know how to > deal with "-" in a property name.
Use bracket notation. > Following doesn't work for me: > > ubus call network.device status '{ "name": "br-lan" }' | jsonfilter -e > "$.bridge-members" ubus call network.device status '{ "name": "br-lan" }' | jsonfilter -e > "$['bridge-members']" ~ Jo
signature.asc
Description: OpenPGP digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel