Trying to pass a nested list with JSON to JS with Flask
The problem is I'm passing my argument to the Javascript like this: link. The variable "chatlist" is the problem. The value of that variable is [[{"user": "lol"}, {"msg": "lol has created this chat."}], [{"user": "lol"}, {"msg": "lol"}]] But when I…