oh a simple error (tried without the compiler), should be this
instead. i tested it also.
[DataContract]
public class PaperNode
{
[DataMember(Name="paper")]
public Paper Paper { get; set;}
}
[DataContract]
public class Paper
{
[DataMember(Name="permalink")]
public string PermaLink {get;set;}
[DataMember(Name="title")]
public string Title {get;set;}
}
var s = "[{\"paper\": {\"permalink\": \"p1\",\"title\": \"Sample
Title\"} },{\"paper\":{\"permalink\": null,\"title\": \"Sample Title
\"} }]";
var x =
Newtonsoft.Json.JsonConvert.DeserializeObject<List<PaperNode>>(s);
that means bascially it should be
client.ExecuteAsync<List<PaperNode>>(>(request,response=> ... );
> > Dave- Hide quoted text -
>
> - Show quoted text -