Chapter III · フォーマッター&コード
フォーマッター&コード.
JSON、XML、YAML、CSV、SQL、regex のフォーマット、圧縮、変換 — さらにコードジェネレーター、スキーマ、フレームワーク、DevOps、テスト。
- Tools
- 122 ツール
- Sections
- 10 sections
Offline
フォーマットとミニファイ13 tools
データ変換16 tools
コードジェネレータ18 tools
JSON to TypeScript InterfaceJSON to C# ClassJSON to Java POJOJSON to Python DataclassJSON to Go StructJSON to Kotlin Data ClassJSON to JSON SchemaXML to TypeScript InterfaceJSON to Rust StructJSON to PHP Class / DTOJSON to C++ StructJSON to Swift CodableJSON to Dart / Flutter ModelJSONからC#レコードへJSONからScalaケースクラスへJSONからElixir structへJSONからHaskellデータ型へCSVからSQL INSERT文へ
フレームワークとUI16 tools
JSONからReact Hook Form + ZodへJSONからNext.js Server ActionへJSONからPrismaスキーマモデルへJSONからDrizzle ORMスキーマへJSONからTypeORMエンティティへJSONからMongooseスキーマ + モデルへJSONからtRPCルーターへJSONからGraphQLタイプ + リゾルバーへTailwind環境設定ジェネレーターReactコンポーネントジェネレーターCSS → Tailwind JIT コンバーターshadcn/ui コンポーネントジェネレーターNext.js App Router ページジェネレーターSvelteKit コンポーネント + ページジェネレーターVue 3 + Pinia ストアジェネレーターStorybook ストーリージェネレーター
スキーマとAPI9 tools
DevOpsとビルド11 tools
テスト5 tools
テキストと正規表現20 tools
From the blog
Reading on this topic.
csv
CSV parsing is harder than you think (and why `split(',')` isn't enough)
Quoted fields, escaped quotes, embedded newlines, UTF-8 BOMs, Excel's opinions. A tour of every CSV footgun and the libraries that handle them.
json
NaN, null and undefined in JSON: what serialises to what
JSON has null. JavaScript has null, undefined and NaN. Python has None. This is the table of what survives each conversion — and the traps everyone hits.
5 min read
How to convert JSON to YAML (and back) without breaking things
JSON ↔ YAML looks simple until you hit anchors, multi-line strings, booleans that aren't booleans, and the Norway problem.
End of Chapter III
Next · Chapter IVエンコーダー&暗号化