Tag: split JSON array
-
Split an array of nested JSON objects
I see a post https://stackoverflow.com/questions/67607384/split-an-array-of-nested-json-objects-using-jq, the poster gave an example JSON file: { “storeId”: “1412”, “templateCheck”: [ { “rom”: 37, “updateDate”: “2021-05-09 07:53:17”, “lhb”: “2021-05-09 06:32:41”, “templateCode”: “REGULAR”, “lId”: “50-19-78-5C”, “sk”: “830066”, “skUpdateDate”: “2020-07-21 05:37:07”, “battery”: 30, “status”: 1 }, { “rom”: 37, “updateDate”: “2021-05-09 07:54:02”, “lhb”: “2021-05-09 06:32:41”, “templateCode”: “REGULAR”, “lId”: “50-1B-FE-6E”, “sk”: “740541”,…