Here is my json:
{
\"data\": [
{
\"comment\": \"3541\",
\"datetime\": \"2016-01-01\"
}
]
}
Here is model:
There is no way to know for TS/JS that this value is a date. It's a string and treated as such. Other data types are distinguishable but JSON doesn't provide any special support for date. You need to convert it manually.
See for example this discussion how to transport and convert a date using JSON How do I format a Microsoft JSON date?