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

Iterate through objects without array

$
0
0

I've got JSON data that looks like this (notice that it's a list of individual objects without wrapping by []). I would like to walk each object using jq but it is not an array of objects. So how can I walk to each object without fixing the data to be a valid array of objects?

{"a": 1,"b": 2}{"c": 3,"d": 4}

Viewing all articles
Browse latest Browse all 538

Trending Articles



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