Quantcast
Channel: Active questions tagged jq - Stack Overflow
Viewing all articles
Browse latest Browse all 610

How do I assign the output of jq to variables?

$
0
0

I am attempting to parse NOAA NWS json data with jq. My last computer class was as a senior in high school, '67-68 semester. Be gentle.

I have figured out how to filter the data I want, but I'd like it assigned to variables so I can use it farther down the road. Using the original json name and index number as the variable's name is where I'm aimed. I can't find any documentation that even gives me a clue, but I'm guessing this is something jq is used for all-the-time.

Here are my data and filters: https://jqplay.org/s/uRhNX-UglJ?fbclid=IwAR3lPxOj1fQcyzEOSrvf5x3WBQWXd0N1kwTc62Agmg1KANwkKL6hI-0vJOE


Viewing all articles
Browse latest Browse all 610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>