public class Root
{
public string Name { get; set; }
public FunctionItem[] Function { get; set; }
public FunctionItem FunctionItem { get; set; }
}
public class FunctionItem
{
public string Name { get; set; }
public bool Valid { get; set; }
}
should have been
public class Root
{
public string Name { get; set; }
public FunctionItem[] Function { get; set; }
}
public class FunctionItem
{
public string Name { get; set; }
public bool Valid { get; set; }
}
repro
type the following json:
becomes
should have been