Class McToolbarJsonConvertor
Class for custom JSON serialization
Supports only class McToolbarItem
Inheritance
System.Object
McToolbarJsonConvertor
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2
public class McToolbarJsonConvertor : JavaScriptConverter
Constructors
Declaration
public McToolbarJsonConvertor()
Properties
Declaration
public override IEnumerable<Type> SupportedTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
Methods
Declaration
public override object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
dictionary |
|
System.Type |
type |
|
System.Web.Script.Serialization.JavaScriptSerializer |
serializer |
|
Returns
Type |
Description |
System.Object |
|
Declaration
public override IDictionary<string, object> Serialize(object obj, JavaScriptSerializer serializer)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
System.Web.Script.Serialization.JavaScriptSerializer |
serializer |
|
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|