I've object in js with keys-selectors:
{
"[data-index="0"]": {
// something
},
"> .class > .one": {
key: "very bad+ \"\' string"
}
}
How send this object via ajax without any changes in the keys and with correct values?
By correct values I mean that "very bad+ \"\' string" should be total escaped, but save all chars and signs to store in Database.
PS. I know that i can send objects via AJAX