I need to convert a json string to an object of type FullArticle
; the ArticleBody
(property in FullArticle
class) is an abstract class.
How can I deserialize it into a concrete class? I know already is HtmlBody implemented ArticleBody
.
public class FullArticle : ArticleListItem
{
public string ShortDescription { get; set; }
// ToDo Check this for removal
public bool IsDone { get; private set; }
public ArticleBody Body { get; }
public long ViewCount { get; }
public string Keywords { get; }
}