DataSource.NET
8.0.3.290770-7760911e
|
Public Member Functions | |
String | GetContribUser () |
T | GetJsonAsType< T > (Type jsonType) |
void | SetJsonTree (Object jsonTree) |
Public Member Functions inherited from Caplin.DataSource.Messaging.JSON.IJsonMessage | |
bool | IsPatch () |
Checks if the JSON object is a patch. More... | |
Additional Inherited Members | |
Properties inherited from Caplin.DataSource.Messaging.JSON.IJsonMessage | |
string | JsonString [get] |
Gets the the JSON object string. More... | |
Object | JsonTree [get] |
Gets the the JSON object. More... | |
string | JsonTreeString [get, set] |
Gets the the JSON tree string represenatation. More... | |
Properties inherited from Caplin.DataSource.Messaging.IMessage | |
bool | Image [get, set] |
Gets or sets a boolean value indicating whether this IMessage represents an image or an update. More... | |
string | Subject [get] |
Gets the subject of this message. More... | |
Provides an interface for receiving JSON Channel messages in a JsonChannel to allow json communication while avoiding having to deal with additional metadata contained in the packet.
String Caplin.DataSource.Messaging.JSON.IJsonChannelMessage.GetContribUser | ( | ) |
Grabs the string value of the user who has contributed from the Json message metadata
T Caplin.DataSource.Messaging.JSON.IJsonChannelMessage.GetJsonAsType< T > | ( | Type | jsonType | ) |
Returns the object JSON deserialized into a class of type which is passed in as jsonType
jsonType | the class which we deserialize intp |
void Caplin.DataSource.Messaging.JSON.IJsonChannelMessage.SetJsonTree | ( | Object | jsonTree | ) |
Set the JsonTree in the Message to the given value
jsonTree | the json object to be set |