Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Interface ISerializer

    Represents an interface for serializing and deserializing objects.

    Namespace: Innovt.Core.Serialization
    Assembly: Innovt.Core.dll
    Syntax
    public interface ISerializer

    Methods

    | Edit this page View Source

    DeserializeObject<T>(string)

    Deserializes a serialized object of type T.

    Declaration
    T DeserializeObject<T>(string serializedObject)
    Parameters
    Type Name Description
    string serializedObject

    The serialized object as a string.

    Returns
    Type Description
    T

    The deserialized object of type T.

    Type Parameters
    Name Description
    T

    The type of object to deserialize.

    | Edit this page View Source

    SerializeObject<T>(T)

    Serializes an object of type T to a string.

    Declaration
    string SerializeObject<T>(T obj)
    Parameters
    Type Name Description
    T obj

    The object to serialize.

    Returns
    Type Description
    string

    The serialized object as a string.

    Type Parameters
    Name Description
    T

    The type of object to serialize.

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX