I want to convert my cursor.fetchall() response to JSON object. Like example: [ {Name: "XYZ-1", Address: "ABC-1"}, {Name: "XYZ-2", Address: "ABC-2"} ]
currenty I am getting like below [ ["XYZ-1","ABC-1"], ["XYZ-2","ABC-2"] ] Please help me how to parse in my custom models -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/395aedde-65b9-4000-996d-da7f35dc98a1n%40googlegroups.com.