ServiceContractResolver Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the default Newtonsoft.Json.Serialization.IContractResolver used by System.Net.Http.Formatting.JsonMediaTypeFormatter but with the addition of supporting camel cased serialization. It uses the formatter's System.Net.Http.Formatting.IRequiredMemberSelector to select required members and recognizes the SerializableAttribute type annotation.
public class ServiceContractResolver : System.Net.Http.Formatting.JsonContractResolver
type ServiceContractResolver = class
inherit JsonContractResolver
Public Class ServiceContractResolver
Inherits JsonContractResolver
- Inheritance
-
System.Net.Http.Formatting.JsonContractResolverServiceContractResolver
- Derived
Constructors
ServiceContractResolver(MediaTypeFormatter) |
Initializes a new instance of the ServiceContractResolver with a given |
Methods
ResolvePropertyName(String) | System.Net.Http.Formatting.JsonContractResolver.ResolvePropertyName(System.String) |
Applies to
Azure SDK for .NET