ホーム
Tom Utilities

JSON → C# クラス

JSON ツール

JSON サンプルからワンクリックで厳密に型付けされた C# クラスを生成します。

入力

結果

使い方

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.

よくある質問

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.