print(request.COOKIES)
var user = '{ "name": "Вася", "age": 35, "isAdmin": false, "friends": [0,1,2,3] }';
user = JSON.parse(user);
In [6]: c = json.loads('{ "name": "Вася", "age": 35, "isAdmin": false, "friends": [0,1,2,3] }')
In [7]: type(c['friends'])
Out[7]: builtins.list
In [8]: type(c['friends'])