Skip to content

ResponseEncoder Class

sequenze edited this page Jun 15, 2017 · 2 revisions

Provides basic functionality for serializing and deserializing responses as json string. Furthermore, the underlying values are boxed and unboxed thereby supporting language independent types.

Inheritance Hierarchy

Object > EncoderBase

Syntax

public sealed class ResponseEncoder : EncoderBase, IEncoder

Methods

Name                                             Description
Decode(String) Unboxes and deserializes the passed json string containing interoperable types to a message containine .NET primitive types.
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.

See Also

EncoderBase, IEncoder, IMessage

Clone this wiki locally