I was wondering how to easily parse json on openwrt?
I\'ve jhsn to parse json and this is my procedure (.sh script):
#download weather
wget \"api.ope
following script do what I need
#!/bin/sh
. /usr/share/libubox/jshn.sh
O=$(wget "api.openweathermap.org/data/2.5/weather?id=2172797&appid=44db6a862fba0b067b1930da0d769e98" -O -)
json_load "$O"
json_select wind
json_get_var var1 speed
echo "speed: $var1"
More info @ http://eko.one.pl/forum/viewtopic.php?pid=157702#p157702