Method | Description | |
---|---|---|
Deserialize ( Stream stream, IList |
Deserializes from the given stream a set of messages.
|
|
DeserializeObject ( string value, |
Non strongly typed deserialization.
|
|
JsonMessageSerializer ( IMessageMapper messageMapper ) : System |
Initializes a new instance of JsonMessageSerializer.
|
|
JsonMessageSerializer ( IMessageMapper messageMapper, |
Initializes a new instance of JsonMessageSerializer.
|
|
Serialize ( object message, Stream stream ) : void |
Serializes the given set of messages into the given stream.
|
|
SerializeObject ( object value ) : string |
Serializes the given object to a json string.
|
Method | Description | |
---|---|---|
CreateJsonReader ( Stream stream ) : |
||
CreateJsonWriter ( Stream stream ) : |
||
FindRootTypes ( IEnumerable |
public Deserialize ( Stream stream, IList |
||
stream | Stream | Stream that contains messages. |
messageTypes | IList |
/// The list of message types to deserialize. If null the types must be inferred from the /// serialized data. /// |
return | object[] |
public DeserializeObject ( string value, |
||
value | string | |
type | ||
return | object |
public JsonMessageSerializer ( IMessageMapper messageMapper ) : System | ||
messageMapper | IMessageMapper | |
return | System |
public JsonMessageSerializer ( IMessageMapper messageMapper, |
||
messageMapper | IMessageMapper | |
encoding | ||
return | System |
public Serialize ( object message, Stream stream ) : void | ||
message | object | Message to serialize. |
stream | Stream | Stream for |
return | void |
public SerializeObject ( object value ) : string | ||
value | object | The actual object. |
return | string |