I tried many things to pick up all the values in relatives from JSON but didn't find how to make it works.
Thanks for any help and/or any advice.
I need to do it with the export ID=1
at first, I can only edit the second line with curl and jq.
bash:
export ID=1
curl 'url.json' | jq -r '.ID.relatives'
JSON:
"biography": {
"fullName": "Richard Milhouse Jones",
],
"placeOfBirth": "Scarsdale, Arizona",
"firstAppearance": "Hulk Vol 2 #2 (April, 2008) (as A-Bomb)",
"publisher": "Marvel Comics",
},
"connections": {
"groupAffiliation": "Hulk Family; Excelsior (sponsor), Avengers (honorary member)",
"relatives": "Marlo Chandler-Jones (wife); Polly (aunt); Mrs. Chandler (mother-in-law); Keith Chandler, Ray Chandler, three unidentified others (brothers-in-law)"