[Django]-Json.parse gives Uncaught SyntaxError: Unexpected Token (Django json serialized queryset)

13👍

When you set dataType to json, jQuery parses the data for you. So you don’t need to put it through JSON.parse, you can just refer to data as a normal Javascript object.

Leave a comment