JSON parser keeps failing on newline even after adding another backslash
So I’m making a messaging platform for a school project, and I’m trying to both protect my database, protect XSS attacks, and also allow every single character, including newlines.