call the json.dump function with 4 arguments: return value of the method self.get_dump_object called with an argument obj, self.stream, cls set to DjangoJSONEncoder and unpacked dictionary self.json_kwargs.
json . dump ( self . get_dump_object ( obj ) , self . stream , cls = DjangoJSONEncoder , ** self . json_kwargs )