Dealing with a JSON object that varies in structure, but always contains a key
. Any suggestions on how to extract this information?
For example:
"Records": {
"key": "112"
}
Or
"Records": {
"test": {
"key": "512"
}
}
Or even within an array:
"Records": {
"test": {
"test2": [
{
"key": "334"
}
]
}
}
I've tried multiple approaches, but still haven't found a solution.