Table of Contents

Class CoherenceJson

Namespace
Coherence.Utils
Assembly
Coherence.Utils.dll
public static class CoherenceJson
Inheritance
CoherenceJson

Methods

DeserializeAnonymousType<T>(string, T)

public static T? DeserializeAnonymousType<T>(string value, T anonymousTypeObject)

Parameters

value string
anonymousTypeObject T

Returns

T

Type Parameters

T

DeserializeAnonymousType<T>(string, T, JsonSerializerSettings)

public static T? DeserializeAnonymousType<T>(string value, T anonymousTypeObject, JsonSerializerSettings settings)

Parameters

value string
anonymousTypeObject T
settings JsonSerializerSettings

Returns

T

Type Parameters

T

DeserializeObject(string)

public static object? DeserializeObject(string value)

Parameters

value string

Returns

object

DeserializeObject(string, JsonSerializerSettings)

public static object? DeserializeObject(string value, JsonSerializerSettings settings)

Parameters

value string
settings JsonSerializerSettings

Returns

object

DeserializeObject(string, Type)

public static object? DeserializeObject(string value, Type type)

Parameters

value string
type Type

Returns

object

DeserializeObject(string, Type, params JsonConverter[]?)

public static object? DeserializeObject(string value, Type type, params JsonConverter[]? converters)

Parameters

value string
type Type
converters JsonConverter[]

Returns

object

DeserializeObject(string, Type?, JsonSerializerSettings?)

public static object? DeserializeObject(string value, Type? type, JsonSerializerSettings? settings)

Parameters

value string
type Type
settings JsonSerializerSettings

Returns

object

DeserializeObject<T>(string)

public static T? DeserializeObject<T>(string value)

Parameters

value string

Returns

T

Type Parameters

T

DeserializeObject<T>(string, params JsonConverter[])

public static T? DeserializeObject<T>(string value, params JsonConverter[] converters)

Parameters

value string
converters JsonConverter[]

Returns

T

Type Parameters

T

DeserializeObject<T>(string, JsonSerializerSettings?)

public static T? DeserializeObject<T>(string value, JsonSerializerSettings? settings)

Parameters

value string
settings JsonSerializerSettings

Returns

T

Type Parameters

T

SerializeObject(object?)

public static string SerializeObject(object? value)

Parameters

value object

Returns

string

SerializeObject(object?, Formatting)

public static string SerializeObject(object? value, Formatting formatting)

Parameters

value object
formatting Formatting

Returns

string

SerializeObject(object?, Formatting, params JsonConverter[]?)

public static string SerializeObject(object? value, Formatting formatting, params JsonConverter[]? converters)

Parameters

value object
formatting Formatting
converters JsonConverter[]

Returns

string

SerializeObject(object?, Formatting?, JsonSerializerSettings?)

public static string SerializeObject(object? value, Formatting? formatting, JsonSerializerSettings? settings)

Parameters

value object
formatting Formatting
settings JsonSerializerSettings

Returns

string

SerializeObject(object?, params JsonConverter[]?)

public static string SerializeObject(object? value, params JsonConverter[]? converters)

Parameters

value object
converters JsonConverter[]

Returns

string

SerializeObject(object?, JsonSerializerSettings?)

public static string SerializeObject(object? value, JsonSerializerSettings? settings)

Parameters

value object
settings JsonSerializerSettings

Returns

string

SerializeObject(object?, Type?, Formatting?, JsonSerializerSettings?)

public static string SerializeObject(object? value, Type? type, Formatting? formatting, JsonSerializerSettings? settings)

Parameters

value object
type Type
formatting Formatting
settings JsonSerializerSettings

Returns

string

SerializeObject(object?, Type?, JsonSerializerSettings?)

public static string SerializeObject(object? value, Type? type, JsonSerializerSettings? settings)

Parameters

value object
type Type
settings JsonSerializerSettings

Returns

string