Table of Contents

Class TypeConversion

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Denotes a helper class for type conversion

public static class TypeConversion
Inheritance
TypeConversion
Inherited Members

Methods

GetTypeConverter(Type)

Gets a type converter for the given type

public static TypeConverter GetTypeConverter(Type type)

Parameters

type Type

The type for which a converter is needed

Returns

TypeConverter

The type converter

ParseJson(string)

Parses the given string as JSON

public static IDictionary<string, string> ParseJson(string json)

Parameters

json string

A JSON string

Returns

IDictionary<string, string>

If the provided string is a valid JSON object, then the result is a dictionary of the properties and provided values (which might be JSON strings themselves). Otherwise, null is returned