ASP.NET Core deserialise JSON to derived classes
I've got a frontend application which is producing a JSON object (let's call it a RuleGroup). Each RuleGroup contains a list of either subgroups or nodes. Here is a rough example of what this may look like: { "combinator": "OR",…