Class NewtonsoftJsonContractResolver (1.73.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class NewtonsoftJsonContractResolver : DefaultContractResolver, IContractResolver
A JSON contract resolver to apply RFC3339DateTimeConverter and Google.Apis.Json.NewtonsoftJsonContractResolver.ExplicitNullConverter as necessary.
Inheritance
object >
Newtonsoft.Json.Serialization.DefaultContractResolver >
NewtonsoftJsonContractResolver
Implements
Newtonsoft.Json.Serialization.IContractResolver
Inherited Members
Newtonsoft.Json.Serialization.DefaultContractResolver.DynamicCodeGeneration
Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultMembersSearchFlags
Newtonsoft.Json.Serialization.DefaultContractResolver.SerializeCompilerGeneratedMembers
Newtonsoft.Json.Serialization.DefaultContractResolver.IgnoreSerializableInterface
Newtonsoft.Json.Serialization.DefaultContractResolver.IgnoreSerializableAttribute
Newtonsoft.Json.Serialization.DefaultContractResolver.IgnoreIsSpecifiedMembers
Newtonsoft.Json.Serialization.DefaultContractResolver.IgnoreShouldSerializeMembers
Newtonsoft.Json.Serialization.DefaultContractResolver.NamingStrategy
Namespace
Google.Apis.Json
Assembly
Google.Apis.Core.dll
Methods
CreateContract(Type)
protected override JsonContract CreateContract(Type objectType)
Determines which contract type is created for the given type.
| Parameter |
| Name |
Description |
objectType |
Type
Type of the object.
|
| Returns |
| Type |
Description |
Newtonsoft.Json.Serialization.JsonContract |
A Newtonsoft.Json.Serialization.JsonContract for the given type.
|
Overrides
Extension Method
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]