I have a javascript function that calls an MVC controller with JSON data:
var specsAsJson = JSON.stringify(specs); $.post(\'/Home/Save\', { jsonData: specsAs
I found this piece of code on the internet. It worked like a charm for me...
function customJSONstringify(obj) { return JSON.stringify(obj).replace(/\/Date/g, "\\\/Date").replace(/\)\//g, "\)\\\/") }