Does .NET 4 have a built-in JSON serializer/deserializer?

后端 未结 4 1510
遇见更好的自我
遇见更好的自我 2020-11-28 07:06

Does .NET 4 come with any class that serializes/deserializes JSON data?

  • I know there are 3rd-party libraries, such as JSON.NET, but I am looking for somethi

4条回答
  •  生来不讨喜
    2020-11-28 08:06

    You can use the DataContractJsonSerializer class anywhere you want, it is just a .net class and is not limited to WCF. More info on how to use it here and here.

提交回复
热议问题