Skip to main content

DeserializeDictionary<TSerializer>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class DeserializeDictionary<TSerializer>
where TSerializer : ITypeSerializer

Methods

GetParseMethod(Type)

View Source
Declaration
public static ParseStringDelegate GetParseMethod(Type type)
Returns

ServiceStack.Text.Common.ParseStringDelegate

Parameters
TypeName
System.Typetype

GetParseStringSpanMethod(Type)

View Source
Declaration
public static ParseStringSpanDelegate GetParseStringSpanMethod(Type type)
Returns

ServiceStack.Text.Common.ParseStringSpanDelegate

Parameters
TypeName
System.Typetype

ParseJsonObject(String)

View Source
Declaration
public static JsonObject ParseJsonObject(string value)
Returns

ServiceStack.Text.JsonObject

Parameters
TypeName
System.Stringvalue

ParseInheritedJsonObject<T>(ReadOnlySpan<Char>)

View Source
Declaration
public static T ParseInheritedJsonObject<T>(ReadOnlySpan<char> value)
where T : JsonObject, new()
Returns

<T>

Parameters
TypeName
ReadOnlySpan<System.Char>value
Type Parameters
  • T

ParseJsonObject(ReadOnlySpan<Char>)

View Source
Declaration
public static JsonObject ParseJsonObject(ReadOnlySpan<char> value)
Returns

ServiceStack.Text.JsonObject

Parameters
TypeName
ReadOnlySpan<System.Char>value

ParseStringDictionary(String)

View Source
Declaration
public static Dictionary<string, string> ParseStringDictionary(string value)
Returns

System.Collections.Generic.Dictionary<System.String,System.String>

Parameters
TypeName
System.Stringvalue

ParseStringDictionary(ReadOnlySpan<Char>)

View Source
Declaration
public static Dictionary<string, string> ParseStringDictionary(ReadOnlySpan<char> value)
Returns

System.Collections.Generic.Dictionary<System.String,System.String>

Parameters
TypeName
ReadOnlySpan<System.Char>value

ParseIDictionary(String, Type)

View Source
Declaration
public static IDictionary ParseIDictionary(string value, Type dictType)
Returns

System.Collections.IDictionary

Parameters
TypeName
System.Stringvalue
System.TypedictType

ParseIDictionary(ReadOnlySpan<Char>, Type)

View Source
Declaration
public static IDictionary ParseIDictionary(ReadOnlySpan<char> value, Type dictType)
Returns

System.Collections.IDictionary

Parameters
TypeName
ReadOnlySpan<System.Char>value
System.TypedictType

ParseDictionary<TKey, TValue>(String, Type, ParseStringDelegate, ParseStringDelegate)

View Source
Declaration
public static IDictionary<TKey, TValue> ParseDictionary<TKey, TValue>(string value, Type createMapType, ParseStringDelegate parseKeyFn, ParseStringDelegate parseValueFn)
Returns

System.Collections.Generic.IDictionary<<TKey>,<TValue>>

Parameters
TypeName
System.Stringvalue
System.TypecreateMapType
ServiceStack.Text.Common.ParseStringDelegateparseKeyFn
ServiceStack.Text.Common.ParseStringDelegateparseValueFn
Type Parameters
  • TKey
  • TValue

ParseDictionary<TKey, TValue>(ReadOnlySpan<Char>, Type, ParseStringSpanDelegate, ParseStringSpanDelegate)

View Source
Declaration
public static IDictionary<TKey, TValue> ParseDictionary<TKey, TValue>(ReadOnlySpan<char> value, Type createMapType, ParseStringSpanDelegate parseKeyFn, ParseStringSpanDelegate parseValueFn)
Returns

System.Collections.Generic.IDictionary<<TKey>,<TValue>>

Parameters
TypeName
ReadOnlySpan<System.Char>value
System.TypecreateMapType
ServiceStack.Text.Common.ParseStringSpanDelegateparseKeyFn
ServiceStack.Text.Common.ParseStringSpanDelegateparseValueFn
Type Parameters
  • TKey
  • TValue

ParseDictionaryType(String, Type, Type[], ParseStringDelegate, ParseStringDelegate)

View Source
Declaration
public static object ParseDictionaryType(string value, Type createMapType, Type[] argTypes, ParseStringDelegate keyParseFn, ParseStringDelegate valueParseFn)
Returns

System.Object

Parameters
TypeName
System.Stringvalue
System.TypecreateMapType
System.Type[]argTypes
ServiceStack.Text.Common.ParseStringDelegatekeyParseFn
ServiceStack.Text.Common.ParseStringDelegatevalueParseFn

ParseDictionaryType(ReadOnlySpan<Char>, Type, Type[], ParseStringSpanDelegate, ParseStringSpanDelegate)

View Source
Declaration
public static object ParseDictionaryType(ReadOnlySpan<char> value, Type createMapType, Type[] argTypes, ParseStringSpanDelegate keyParseFn, ParseStringSpanDelegate valueParseFn)
Returns

System.Object

Parameters
TypeName
ReadOnlySpan<System.Char>value
System.TypecreateMapType
System.Type[]argTypes
ServiceStack.Text.Common.ParseStringSpanDelegatekeyParseFn
ServiceStack.Text.Common.ParseStringSpanDelegatevalueParseFn