glideapps / glideapps/quicktype

How to capture the user defined functions in JSON to generate the C# class files. using Quicktype.

Open
#1,921 0 comments 0 reactions 0 assignees View on GitHub
C#
Dominant language
TypeScript
Stars
13.9k
Forks
1.2k
Avg merge
8h 53m
Merged PRs (30d)
369

Description

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 z { get; set; }
public string Id { get; set; }
}

public X(){}

public X(X x)
{
Id = x.Id;
z = x.z
}
}
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.