JSONからコード
サンプルJSONからTypeScript、Swift、Python、Go、Rust、Kotlin、Zodの型を生成。ルート型名を指定できます。
使い方
- 入力を貼り付けるか、下のサンプルを読み込みます。
- オプションを調整し、「型を生成」を選択します。
- 結果を確認し、コピーまたはダウンロードします。
アップロード不要。アカウント不要。処理はブラウザ内で完結します。
入力例
{"orderId":"ORD-2048","customer":{"name":"Ada Lovelace","email":"[email protected]","address":{"city":"London","country":"GB"}},"items":[{"sku":"KB-01","name":"Mechanical keyboard","quantity":1,"price":89.5},{"sku":"CB-02","name":"USB-C cable","quantity":2,"price":12.75}],"paid":true,"discount":null,"tags":["priority","gift"]}