Good (Date)Times with Json.NET(james.newtonking.com)
submitted by
JamesNK(3015) 2 years, 11 months ago
Dates in JSON are hard.
The problem comes from the JSON spec itself, there is no literal syntax for dates in JSON. The spec has objects, arrays, strings, integers and floats, but it defines no standard for what a date looks like.
This post looks at how Json.NET handles reading and writing custom date formats.
|category: C#
|Views: 169
tags:
C# another
Everyones tags:
Your Tags: