Object to C# model
Input
{"id":1,"name":"demo","enabled":true}
Output
public class Root
{
public long Id { get; set; }
public string Name { get; set; }
public bool Enabled { get; set; }
}
Generate C# model classes from JSON data in your browser.
Generate C# model classes from JSON with nested objects, arrays, and System.Text.Json property mapping.
{"id":1,"name":"demo","enabled":true}
public class Root
{
public long Id { get; set; }
public string Name { get; set; }
public bool Enabled { get; set; }
}
Conversion runs entirely in your browser and does not upload JSON.