Hello
I'm attempting to extract a value from a JSON response depending on the content of another value. For example I have the following:
"examplevalues" : [ {
"id" : "id2",
"Type" : "type2,
}, {
"id" : "id1",
"Type" : "type1",
}, {
"id" : "id4",
"Type" : "type4",
}, {
"id" : "id3",
"Type" : "type3",
}]
I want to extract the value for "id" where the corresponding Type is "type4". The variables can appear in any order and there could be more or fewer number of values than the example 4 shown.
Thanks
Raj.
Hello Raj,
Did you try a normal extraction ?
Assuming the type "type4" is fixed and that the id can change :
Best Regards,
Fousseyni B.