Skip to content

EncoderBase Class

sequenze edited this page Jun 15, 2017 · 2 revisions

Provides basic functionality for serializing and deserializing json objects. This is an abstract class.

Inheritance Hierarchy

Object

Syntax

public abstract class EncoderBase : IEncoder

Methods

Name                                             Description
Deserialize(String,Type[]) Composes and returns a new object based on the provided json string.
Serialize(IMessage,Type[]) Decomposes the passed object into a json string.
Encode(IMessage) Boxes and serializes the passed message into interoperable types specified as a json string.
Decode(String) Template method for deserializing and unboxing the interoperable types specified in json into valid .NET primitive types.

See Also

IEncoder, IMessage

Clone this wiki locally