I have 2 json input
json 1:
[{
"Name": "John",
"Age": "23",
"Des": "SE"
},
{
"Name": "Rai",
"Age": "33",
"Des": "SSE"
},
{
"Name": "James",
"Age": "42",
"Des": "SE"
}
]
json 2:
[{
"Name": "John",
"Age": "23",
"Des": "SE",
"tech": [{
"Primary": ".net",
"secondary": "java",
"current": [{
"first": "Angular",
"second": "Spring"
}]
}]
},
{
"Name": "Ray",
"Age": "39",
"Des": "TE"
}
]
when the Name, age and Des parameters match. how to check a particular value for example "Spring" is present in the json 2, if present the desired output is present below
Desired output:
[{
"Name": "John",
"Age": "23",
"Des": "SE",
"tech": [{
"Primary": ".net",
"secondary": "java",
"current": [{
"first": "Angular",
"second": "Spring"
}]
}]
}]
I'm relatively new to python. please help me on this. Thanks