def test_get_sideloaded_data(self):
        response = self.client.get(self.url)
        content = json.loads(response.content.decode('utf8'))

        self.assertEqual(
            sorted(content.keys()),
            [encoding.force_text('identities'),
             encoding.force_text('posts')])
Load json with comments from a file.
dataset/ETHPy150Open django-json-api/django-rest-framework-json-api/example/tests/test_sideload_resources.py/SideloadResourceTest.test_get_sideloaded_data--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/utilities/json_with_comments.py/Load