Hi I\'ve got a JSON object provided by an ajax request.
Some of the values inside the json appears as null, but I want an empty String inst
null
empty String
If you can replace null-s with empty strings on serialized string, do something like this:
data = JSON.parse(JSON.stringify(data).replace(/\:null/gi, "\:\"\""));