develop an API for transforming the json format.
Anoniem
I answered really well with proper structure using separate classes (controller, service, model, exception, logging). They gave me around 30min for this. But they were expecting me to write node JS function with queryDSL/graphQL to return the desired format.