My goal is pretty straightforward: I need to take an MVC model, convert it to JSON, and send it back to the server. I attempted the following code:
@Html.Raw(Json.Encode(Model));
Upon inspecting the JavaScript, I noticed that the date objects in the serialized JSON were represented as /date (00064321)/
. However, when I sent this JSON to the server, the dates appeared as null on the server-side. Does anyone have insight into what might be causing this issue?