I have a requirement to convert a JSON file into C# Class and to create a C# Class at a specific folder in the system.
For ex:
{ "id": "string", "fullName": "string" }
This JSON can change during run time.I need to convert this into C# Class like
public class Root {
public string id { get; set; }
public string fullName { get; set; }
}
Then I need to write this class into.cs file inside any location in the system. Any help is appreciated