Class McJsonConvertor
class for converting to JSON
Supports only class JsGridColumnInfo
Inheritance
System.Object
McJsonConvertor
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2
public class McJsonConvertor : JavaScriptConverter
Constructors
Declaration
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> |
|