in ClientLibrary/messages/Action.cs [60:70]
public string ToJson()
{
var jsonSerializer = new DataContractJsonSerializer(GetType());
var ms = new MemoryStream();
jsonSerializer.WriteObject(ms, this);
ms.Position = 0;
using (var sr = new StreamReader(ms))
{
return sr.ReadLine();
}
}