-
Notifications
You must be signed in to change notification settings - Fork 2
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.
Object > EncoderBase
public sealed class ResponseEncoder : EncoderBase, IEncoder
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. |