rails ujs VM16281:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1 code example
Example: "SyntaxError: Unexpected token o in JSON at position 1
var newData = JSON.stringify(userData)
var newData = JSON.stringify(userData)