How to implement custom JSON serialization from ASP.NET web service?

后端 未结 5 668
灰色年华
灰色年华 2020-12-23 23:23

What options are there for serialization when returning instances of custom classes from a WebService?

We have some classes with a number of child collection class p

5条回答
  •  伪装坚强ぢ
    2020-12-23 23:49

    You can use the System.Runtime.Serialization.Json.DataContractJsonSerializer class in the System.ServiceModel.Web.dll assembly.

提交回复
热议问题