- Exécuteurs
-
Apprendre
Espace d’apprentissage Python Exemples exécutables, NumPy, pandas et plus Espace d’apprentissage C et C++ Pointeurs, mémoire, STL et C++ moderne Espace d’apprentissage C#Bases, POO, LINQ, async et exercices .NET Algorithmes Python Recherche, tri, récursivité et visualisations O(n) Algorithmes C et C++ Comparer les implémentations en C et C++
- Défis
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.
Pratiquez Python avec des défis de code
Résolvez des problèmes concrets dans cet éditeur : lancez les tests, soumettez et recevez une relecture IA.