Méthode | 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.
|
Méthode | 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. /// |
Résultat | object[] |
public DeserializeObject ( string value, |
||
value | string | |
type | ||
Résultat | object |
public JsonMessageSerializer ( IMessageMapper messageMapper ) : System | ||
messageMapper | IMessageMapper | |
Résultat | System |
public JsonMessageSerializer ( IMessageMapper messageMapper, |
||
messageMapper | IMessageMapper | |
encoding | ||
Résultat | System |
public Serialize ( object message, Stream stream ) : void | ||
message | object | Message to serialize. |
stream | Stream | Stream for |
Résultat | void |
public SerializeObject ( object value ) : string | ||
value | object | The actual object. |
Résultat | string |