using Newtonsoft.Json.Linq;
public static void Main()
var node = JsonConvert.DeserializeObject<MusterNode>(json);
Console.WriteLine("TypeName: " + node.TypeName);
node.PopulateOtherObject(other);
Console.WriteLine("Stuff: " + other.Stuff);
Console.WriteLine("Foo: " + other.Foo);
public string TypeName { get; set; }
private JObject _extparams;
public void PopulateOtherObject(Other other)
new JsonSerializer().Populate(_extparams.CreateReader(), other);
public int Stuff { get; set; }
public string Foo { get; set; }