nodeJS:

```
io.sockets.on("connection",function(client)
{
  client.emit('Value',{Data:'a string'});
});

```

C#:

```
socket.On("Value", (data) =>
{
  PlainString PS = data.Json.GetFirstArgAs<PlainString>();
  MessageBox.Show(PS.Data);
});

```

C# PlainString Class:

```
[JsonObject(MemberSerialization.OptIn)]
class PlainString
{
   [JsonProperty]
   public string Data { get; set; }
   public PlainString(){}
   public string ToJsonString()
   {
     return JsonConvert.SerializeObject(this);
   }
   public static PlainString Deserialize(string jsonString)
   {
      return JsonConvert.DeserializeObject<PlainString>(jsonString);
   }
}

```

error:

> 
> Cannot implicitly convert type 'object' to 'PlainString'.
>  An explicit conversion exists (are you missing a cast?)
> 
> 
> 

on JsonEncodedEventMessage.cs:39

```
    public T GetFirstArgAs<T>()
        {
            try
            {
                var firstArg = this.Args.FirstOrDefault();
                if (firstArg != null)
                return JsonConvert.DeserializeObject<T>(firstArg.ToString());//line 39
            }
            catch (Exception ex)
            {
                throw;
            }
            return default(T);
        }

```

`firstArg = '{ "Data": "connected" }' (dynamic)`
and
`T = PlainString`

using: [SocketIO4Net](http://socketio4net.codeplex.com/)  

everything looks right, but i always get that error, am i missing something?