November Happy Hour will be moved to Thursday December 5th.

Class McJsonConvertor

class for converting to JSON Supports only class JsGridColumnInfo

Inheritance
System.Object
McJsonConvertor
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2
Syntax
public class McJsonConvertor : JavaScriptConverter

Constructors

McJsonConvertor()

Declaration
public McJsonConvertor()

Properties

SupportedTypes

Declaration
public override IEnumerable<Type> SupportedTypes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

Methods

Deserialize(IDictionary<String, Object>, Type, JavaScriptSerializer)

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

Serialize(Object, JavaScriptSerializer)

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>