How to capture the user defined functions in JSON to generate the C# class files. using Quicktype.
ramkumar-venkat opened this issue · comments
ramkumar-venkat commented
We are trying to create a JSON to capture the user defined functions. By using this data we need to generate a C# class file using quicktype. But I do not understand to create a JSON/JSON schema that can give the user defined methods. Below example shows the sample output C# file.
Example:
namespace Demo
{
public class X
{
public List<double[]> z { get; set; }
public string Id { get; set; }
}
public X(){}
public X(X x)
{
Id = x.Id;
z = x.z
}
}
}