Class NewtonsoftJsonContractResolver (1.60.0)

public class NewtonsoftJsonContractResolver : DefaultContractResolver

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

Inheritance

object > NewtonsoftJsonContractResolver

Namespace

GoogleApisJson

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
Name Description
objectType Type
Returns
Type Description
JsonContract

Extension Method