hi,
is there an easy way to get some values from an external json? I want to store two object-values of one array.
thanks,
hannes
Get values from json
hi,
is there an easy way to get some values from an external json? I want to store two object-values of one array.
thanks,
hannes
@BlueHill said in Get values from json:
is there an easy way to get some values from an external json? I want to store two object-values of one array.
Have a look at jq which “is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text” [project description]. You can install it via the OS package manager, e.g., try sudo apt-get install jq
on debian/Raspbian.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@mwittig: Thanks for the quick answer. With jq it is easy to get values out of an json.