Class NewtonsoftJsonContractResolver (1.50.0)

public class NewtonsoftJsonContractResolver : DefaultContractResolver

A JSON contract resolver to apply RFC3339DateTimeConverter and Google.Apis.Json.NewtonsoftJsonContractResolver.ExplicitNullConverter as necessary.

Inheritance

Object > NewtonsoftJsonContractResolver

Namespace

Google.Apis.Json

Assembly

Google.Apis.Core.dll

Remarks

Using a contract resolver is recommended in the Json.NET performance tips: https://www.newtonsoft.com/json/help/html/Performance.htm#JsonConverters

Methods

CreateContract(Type)

protected override JsonContract CreateContract(Type objectType)
Parameter
NameDescription
objectTypeType
Returns
TypeDescription
JsonContract

Extension Method