- Ausführende
-
Lernen
Python-Lernbereich Ausführbare Beispiele, NumPy, pandas und mehr C/C++-Lernbereich Zeiger, Speicher, STL und modernes C++ C#-LernbereichC#-Grundlagen, OOP, LINQ, Async und .NET-Übungen Python-Algorithmen Suche, Sortierung, Rekursion und Visualisierungen O(n) C/C++-Algorithmen Implementierungen in C und C++ vergleichen
- Aufgaben
Converters
JSON to C# Class Generator
Turn a JSON sample into C# model classes ready for System.Text.Json or Newtonsoft.Json.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the JSON to C# Class
- Paste a JSON sample.
- Choose class or record, the attribute style, collections and namespace.
- Copy the code or download Models.cs.
Frequently asked questions
Which JSON library attributes are supported?
System.Text.Json ([JsonPropertyName]) and Newtonsoft.Json ([JsonProperty]), or none.
How are numbers typed?
Whole numbers become long and decimals become double. Dates in ISO format become DateTime.
What are nullable reference types?
With the option on, values that can be null get a ? such as string?, matching C# 8+ nullable context.
Übe Python mit Coding Challenges
Löse praktische Aufgaben direkt im Editor: Führe die Beispieltests aus, reiche ein und erhalte ein KI-Code-Review.