Home
Tom Utilities

Da JSON a classe C#

Strumenti JSON

Genera classi C# fortemente tipizzate da un esempio JSON con un solo clic.

Input

Risultato

Come usare

Generating C# classes

Paste a representative JSON object and press Convert. Nested objects and arrays become their own classes.

  1. Paste a JSON sample.
  2. Press Convert.
  3. Copy the generated classes into your project.

Domande frequenti

Which naming convention is used?

Properties are generated in PascalCase, the standard convention for C# models.

Are nullable types detected?

Properties that contain null in the sample are generated as nullable types.