Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
quicktype を使って爆速で型定義する
Search
chanyou0311
June 26, 2020
Programming
780
0
Share
quicktype を使って爆速で型定義する
社内勉強会で登壇した際のLT資料です。
chanyou0311
June 26, 2020
More Decks by chanyou0311
See All by chanyou0311
「リリース後」に向き合うAI駆動開発の実践
chanyou0311
0
41
データエンジニアリング領域におけるDuckDBのユースケース
chanyou0311
10
4.2k
5分でわかるDuckDB
chanyou0311
11
4.6k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
3
1.9k
データの信頼性を支える仕組みと技術
chanyou0311
6
2.4k
Pulumi に入門してみた
chanyou0311
1
380
What is DRE? - Road to SRE NEXT@広島
chanyou0311
3
1.3k
release-please で実現する手軽で不変な Docker イメージタグ付け方法
chanyou0311
0
560
データ基盤を支える技術
chanyou0311
9
4.6k
Other Decks in Programming
See All in Programming
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
150
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
380
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
150
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
280
Making the RBS Parser Faster
soutaro
0
420
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
370
Back to the roots of date
jinroq
0
250
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
180
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
130
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
380
CDK Deployのための ”反響定位”
watany
4
790
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
340
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Making Projects Easy
brettharned
120
6.6k
Typedesign – Prime Four
hannesfritz
42
3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
How to make the Groovebox
asonas
2
2.1k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
720
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
69
39k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Transcript
quicktype を使って爆速で型定義する 株式会社ガイアックス 中村 優 @chanyou0311 1
中村 優 ソーシャルメディアマーケティング事業部 データ解析基盤の構築、運⽤ DDD を Django で実践中 2
仕事の特性上、外部 API を触ることが多い API の返り値(JSON )をパースするのが⼿間 パースできても補完が効かない API の返り値(JSON )に
key があったりなかったりする 3
quicktype というツール、ご存知ですか? 4
quicktype JSON などのサンプルデータの型を推測し、対応する⾔語で出⼒す るライブラリ npm パッケージとして公開されている https://app.quicktype.io/ で Web UI
でも使える 5
Web UI 試してみる https://app.quicktype.io/ 6
外部 API を利⽤する際に便利 データのクローリング OAuth 認証のアクセストークン などなど… 7
quicktype 便利でした ほどよくデータを流し込めば、いい感じに型定義してくれる がんばってパースしなくてもよい 補完も効いて開発体験が劇的に向上! 8