Data to Class
Turn a JSON sample into C# classes with properly typed, auto-implemented properties.
Paste a JSON sample and get C# classes with auto-implemented properties ({ get; set; }),
following standard C# PascalCase naming for properties regardless of your JSON's key casing.
List<T> properties for JSON arrays, with the using System.Collections.Generic; directive added automatically when needed.System.Text.Json or Newtonsoft.Json.System.Text.Json, you'll typically need to configure PropertyNamingPolicy = JsonNamingPolicy.CamelCase on your serializer options, since the generated C# properties are PascalCase per convention while your JSON keys may not be. Alternatively, add a [JsonPropertyName("originalKey")] attribute to each property by hand.int; numbers with a decimal point are typed as double.record type is usually a quick manual edit if you prefer that style.