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
Type | Name |
---|---|
System.Type | type |
GetParseStringSpanMethod(Type)
View Source
Declaration
public static ParseStringSpanDelegate GetParseStringSpanMethod(Type type)
Returns
ServiceStack.Text.Common.ParseStringSpanDelegate
Parameters
Type | Name |
---|---|
System.Type | type |
ParseJsonObject(String)
View Source
Declaration
public static JsonObject ParseJsonObject(string value)
Returns
Parameters
Type | Name |
---|---|
System.String | value |
ParseInheritedJsonObject<T>(ReadOnlySpan<Char>)
View Source
Declaration
public static T ParseInheritedJsonObject<T>(ReadOnlySpan<char> value)
where T : JsonObject, new()
Returns
<T>
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
Type Parameters
T
ParseJsonObject(ReadOnlySpan<Char>)
View Source
Declaration
public static JsonObject ParseJsonObject(ReadOnlySpan<char> value)
Returns
Parameters
Type | Name |
---|---|
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
Type | Name |
---|---|
System.String | value |
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
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
ParseIDictionary(String, Type)
View Source
Declaration
public static IDictionary ParseIDictionary(string value, Type dictType)
Returns
System.Collections.IDictionary
Parameters
Type | Name |
---|---|
System.String | value |
System.Type | dictType |
ParseIDictionary(ReadOnlySpan<Char>, Type)
View Source
Declaration
public static IDictionary ParseIDictionary(ReadOnlySpan<char> value, Type dictType)
Returns
System.Collections.IDictionary
Parameters
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
System.Type | dictType |
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
Type | Name |
---|---|
System.String | value |
System.Type | createMapType |
ServiceStack.Text.Common.ParseStringDelegate | parseKeyFn |
ServiceStack.Text.Common.ParseStringDelegate | parseValueFn |
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
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
System.Type | createMapType |
ServiceStack.Text.Common.ParseStringSpanDelegate | parseKeyFn |
ServiceStack.Text.Common.ParseStringSpanDelegate | parseValueFn |
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
Type | Name |
---|---|
System.String | value |
System.Type | createMapType |
System.Type[] | argTypes |
ServiceStack.Text.Common.ParseStringDelegate | keyParseFn |
ServiceStack.Text.Common.ParseStringDelegate | valueParseFn |
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
Type | Name |
---|---|
ReadOnlySpan<System.Char> | value |
System.Type | createMapType |
System.Type[] | argTypes |
ServiceStack.Text.Common.ParseStringSpanDelegate | keyParseFn |
ServiceStack.Text.Common.ParseStringSpanDelegate | valueParseFn |