London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class McJsonConvertor

class for converting to JSON Supports only class JsGridColumnInfo

Inheritance
System.Object
McJsonConvertor
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 13.30.0
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>