- Исполнители
-
Обучение
Учебный центр Python Запускаемые примеры, NumPy, pandas и другое Учебный центр C и C++ Указатели, память, STL и современный C++ Учебный центр C#Основы C#, ООП, LINQ, async и упражнения .NET Алгоритмы на Python Поиск, сортировка, рекурсия и визуализация O(n) Алгоритмы на C и C++ Сравнение реализаций на C и C++
- Задачи
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.
Практикуйте Python на задачах
Решайте задачи прямо в редакторе: запускайте тесты, отправляйте решение и получайте AI-рецензию.