menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SerializeObject

    Show / Hide Table of Contents

    Class SerializeObject

    Inheritance
    System.Object
    Converter
    SerializeObject
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.Shared.Serializer
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class SerializeObject : Converter

    Constructors

    SerializeObject()

    Declaration
    public SerializeObject()

    Properties

    ID

    Declaration
    public string ID { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    BuildJsonDictionary(Object)

    Declaration
    protected override IDictionary<string, object> BuildJsonDictionary(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>
    Overrides
    Converter.BuildJsonDictionary(Object)

    GetAttribute(PropertyInfo, String)

    Declaration
    public Attribute GetAttribute(PropertyInfo property, string type)
    Parameters
    Type Name Description
    System.Reflection.PropertyInfo property
    System.String type
    Returns
    Type Description
    System.Attribute

    SerializeToJson(Object, IDictionary<String, Object>)

    Serialize the object to JSON string

    Declaration
    public string SerializeToJson(object input, IDictionary<string, object> unobtrusivedata)
    Parameters
    Type Name Description
    System.Object input

    The input object.

    System.Collections.Generic.IDictionary<System.String, System.Object> unobtrusivedata

    The Dictionary to hold the datasources on unobtrusive mode

    Returns
    Type Description
    System.String

    Returns JSON string

    SerializeToJson(Object, String)

    Declaration
    public string SerializeToJson(object input, string ID)
    Parameters
    Type Name Description
    System.Object input
    System.String ID
    Returns
    Type Description
    System.String

    SerializeToJson(Object, String, Object)

    Declaration
    public override string SerializeToJson(object inputObject, string serializerMode, object serializerSettings)
    Parameters
    Type Name Description
    System.Object inputObject
    System.String serializerMode
    System.Object serializerSettings
    Returns
    Type Description
    System.String
    Overrides
    Converter.SerializeToJson(Object, String, Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved