The linked python code snippet does a recursive search to retrieve all the values corresponding to the provided key in the given JSON object.
I can do it using Java and Jackson library. I am assuming that you just need a java method which accepts a JSON string, a key and returns a list of values for that key.
My day job involves building API bots and encoding/decoding lots of JSONs. I have good knowledge of java collections and their optimal usage.
If the above skill sets are what you were looking for, I would be happy to help and impress.
Thanks & Regards,
Kamalesh