Table of Contents

Class JsonSerializerExtensions

Namespace
Savvyio.Extensions.Newtonsoft.Json
Assembly
Savvyio.Extensions.Newtonsoft.Json.dll

Provides extension methods for the Newtonsoft.Json.JsonSerializer class.

public static class JsonSerializerExtensions
Inheritance
JsonSerializerExtensions

Methods

ResolveDictionaryKeyByConvention(JsonSerializer, string)

Resolves the dictionary key by convention using the specified Newtonsoft.Json.JsonSerializer.

public static string ResolveDictionaryKeyByConvention(this JsonSerializer serializer, string name)

Parameters

serializer JsonSerializer

The Newtonsoft.Json.JsonSerializer to use for resolving the dictionary key.

name string

The name of the dictionary key to resolve.

Returns

string

The resolved dictionary key.

ResolvePropertyKeyByConvention(JsonSerializer, string)

Resolves the property key by convention using the specified Newtonsoft.Json.JsonSerializer.

public static string ResolvePropertyKeyByConvention(this JsonSerializer serializer, string name)

Parameters

serializer JsonSerializer

The Newtonsoft.Json.JsonSerializer to use for resolving the property key.

name string

The name of the property to resolve.

Returns

string

The resolved property key.