Привет,
Я вытаскиваю лайки со Спотифая, там JSON, понятное дело, что у некоторых исполнителей несколько треков, которые мне понравились
А JsonResponse я так понял уникальные только показывает:
The RFC specifies that the names within a JSON object should be unique, but does not mandate how repeated names in JSON objects should be handled. By default, this module does not raise an exception; instead, it ignores all but the last name-value pair for a given name:
Также там написано, что:
The object_pairs_hook parameter can be used to alter this behavior.
А как этот object_pairs_hook в JsonResponse засунуть?