JSON object in client side c#
Posted: 03 Apr 2009, 09:28
When I receive an extension message on client side, how do I convert the c# object to JSON object? Or should I use SFSObject itself?
SmartFoxServer support forums
https://forums.smartfoxserver.com:443/
Code: Select all
public void OnExtensionResponse(object data, string type)
{
if (type == SmartFoxClient.XTMSG_TYPE_JSON)
{
JsonData responseObject = (JsonData)data;
// do something with responseObject
}
}