human
Solve the following python programming problem given the following code:
def perform(self, obj, reg_registry) : 
    def load(request, json) : 
        return obj (json, request) 
reg_registry.register_function (generic.load_json, reg_registry) 

    
    

    Fix the buggy line: reg_registry.register_function (generic.load_json, reg_registry)
assistant
#Here is Python program to fix the buggy line: reg_registry.

reg_registry.register_function (generic.load_json, def load()