C# Json.NET WCF Rest DateTime Format
当调用 Restful 的WCF 服务时,如果参数是Json格式,参数中有 DateTime 类型时会提示 时间类型的格式 序列化错误:
Take a look at the following example code, I would like the output to be a WCF date format "/Date(1237951967000)/" or the time zone variant.
class Program
{
public class Test
{
原创
2020-06-17 14:23:45 ·
418 阅读 ·
0 评论