i am using python json and i want to let my Python code search for specefic Keywords in a JSON-File.
Basically it should search for the "profilename" and then go one line down and print the email of the profile out.
[
{
"profilename": "Test123"
"email": "reid.warren@undefined.name",
"phone": "+1 (983) 443-3504",
"address": "359 Rapelye Street, Holtville, Marshall Islands, 9692"
},
{
"profilename": "QTest123"
"email": "amelia.wilkinson@undefined.us",
"phone": "+1 (831) 563-3240",
"address": "525 Allen Avenue, Iola, Kentucky, 894"
}
]
Like the code should search for profilename "Test123" and print out the email of that, like going one line down and print the email out.
I tried many things but i didnt even come one step closer, so sharing my current code would help 0 :/
Thanks.