Looking for assistance with extracting specific nested objects from a series structured like so:
data = {"12345":{"value":{"1":"2","3":"4"}},
{"12346":{"value":{"5":"6","7":"8"}},
{"12347":{"value":{"9":"0","11":"22"}}
In need of creating a function that targets and retrieves particular objects within this hierarchy. For instance...
grabObject(12345);
will result in:
{"value":{"1":"2","3":"4"}}
Your guidance on this matter would be highly appreciated.