I am trying to crack a problem so basically I need to classify every response json( it's a list of data in that response you can say a list api, and classification is of every object in that list of response) to a type , and for that I have rules and the rules can be a path in the response json , like meta-attributes-name='usage' , hyphen tell us that it's nested attributes is a dict inside meta and name at last is the key
The response is like millions so what is the optimised way to do this