메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. /// |
리턴 | object[] |
public DeserializeObject ( string value, |
||
value | string | |
type | ||
리턴 | object |
public JsonMessageSerializer ( IMessageMapper messageMapper ) : System | ||
messageMapper | IMessageMapper | |
리턴 | System |
public JsonMessageSerializer ( IMessageMapper messageMapper, |
||
messageMapper | IMessageMapper | |
encoding | ||
리턴 | System |
public Serialize ( object message, Stream stream ) : void | ||
message | object | Message to serialize. |
stream | Stream | Stream for |
리턴 | void |
public SerializeObject ( object value ) : string | ||
value | object | The actual object. |
리턴 | string |