javascript - Firefox returning incorrect JSON using JQuery -
i trying make post api endpoint. seems work in safari , chrome ie. firefox seems want add double quote beginning , end of json string. dont know huge issue of community under deadline , thing keeping me hitting target.
console.log(json.stringify($('fooobject').serializeobject())); this returns
"{"key":"value"}" i need
{"key":"value"} any suggestions? have trolled net 3 hours , no dice.
please nice not js often, more networking , security edge case need tackled.
thank in advance.
if double quotes display in firefox console- quotes signify it's string.
Comments
Post a Comment