I have following values
[ { "id": ID1, "XXX": "XXXX", "XXX": "XXX XXX", "xxx": { "XXXX": "XXXX", "XXXXX": "XXXX" }, "XXXX": "[email protected]", "XXXXX": "XXXX", "XXXX": XXX, "Section1": [ { "id": ID_Section1, "xXXX": "XXXX", "teams": { "XXXX: XXX, "XXX": "XXX XXX XXX" }, "Section2": { "id": ID_Section2, "XXXX": "XXX XX", "XXX": "XXX", "XXX": "XX-XX" }, "XXX": XXX } { "id": ID2, "XXX": "XXXX", "XXX": "XXX XXX", "xxx": { I need to get the value like ID1, ID2 etc. but while using the below regular expression, I am getting all the values of other ID as well like ID_Section1, ID_Section2 which I don't need.
Expression:
"id":(.?), Template : $1$
I also tried to extract the value using JSON path extractor with the below command but still it is fetching all the values.
$..id Any help is appreciated?
