What is the “right” JSON date format?

前端 未结 16 1354
执念已碎
执念已碎 2020-11-21 15:14

I\'ve seen so many different standards for the JSON date format:

\"\\\"\\\\/Date(1335205592410)\\\\/\\\"\"         .NET JavaScriptSerializer
\"\\\"\\\\/Date(         


        
16条回答
  •  被撕碎了的回忆
    2020-11-21 16:15

    it is work for me with parse Server

    {
        "ContractID": "203-17-DC0101-00003-10011",
        "Supplier":"Sample Co., Ltd",
        "Value":12345.80,
        "Curency":"USD",
        "StartDate": {
                    "__type": "Date",
                    "iso": "2017-08-22T06:11:00.000Z"
                }
    }
    

提交回复
热议问题