C# Class ManagedFusion.Serialization.Serializer

Mostra file Open project: managedfusion/managedfusion Class Usage Examples

Public Methods

Method Description
Deserialize ( string input, IDeserializer deserializer ) : object
FromCollection ( ICollection collection, ISerializerOptions options ) : ICollection

Serializes the specified collection.

FromObject ( object obj, ISerializerOptions options ) : object>.IDictionary

Serializes the specified obj.

Serialize ( object obj, ISerializer serializer ) : string

Serializes the specified obj.

Serializer ( ) : System

Private Methods

Method Description
SerializeName ( MemberInfo member ) : string

Serializes the name.

SerializeObject ( object obj, int level, int levelLimit ) : object>.IDictionary

Serializes the object.

SerializeValue ( object obj, int level, int levelLimit ) : object

Serializes the value.

Method Details

Deserialize() public method

public Deserialize ( string input, IDeserializer deserializer ) : object
input string
deserializer IDeserializer
return object

FromCollection() public method

Serializes the specified collection.
public FromCollection ( ICollection collection, ISerializerOptions options ) : ICollection
collection ICollection
options ISerializerOptions
return ICollection

FromObject() public method

Serializes the specified obj.
public FromObject ( object obj, ISerializerOptions options ) : object>.IDictionary
obj object The obj.
options ISerializerOptions
return object>.IDictionary

Serialize() public method

Serializes the specified obj.
public Serialize ( object obj, ISerializer serializer ) : string
obj object The obj.
serializer ISerializer The serializer.
return string

Serializer() public method

public Serializer ( ) : System
return System