Quantcast
Channel: How to form correct JQ Expression to get exact output data from JSON file? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Inian for How to form correct JQ Expression to get exact output...

With a slight bit of reform, it could be written as below. The key is to reuse the variable $k once for forming the key name and then later to exclude it from the members..body.primarykey[] as $k | {...

View Article


How to form correct JQ Expression to get exact output data from JSON file?

I am using JQ Play.Here is my JSON Data -{"body": {"name": "DATATYPES","primarykey": ["db_number" ],"members": [ {"name": "db_number","type": "NUMBER" }, {"name": "db_date","type": "DATE" }, {"name":...

View Article

Browsing latest articles
Browse All 2 View Live


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