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
0
740
quicktype を使って爆速で型定義する
社内勉強会で登壇した際のLT資料です。
chanyou0311
June 26, 2020
Tweet
Share
More Decks by chanyou0311
See All by chanyou0311
データエンジニアリング領域におけるDuckDBのユースケース
chanyou0311
10
3.7k
5分でわかるDuckDB
chanyou0311
11
4.2k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
3
1.6k
データの信頼性を支える仕組みと技術
chanyou0311
6
2.3k
Pulumi に入門してみた
chanyou0311
1
340
What is DRE? - Road to SRE NEXT@広島
chanyou0311
3
1.2k
release-please で実現する手軽で不変な Docker イメージタグ付け方法
chanyou0311
0
470
データ基盤を支える技術
chanyou0311
9
4.4k
おうちk8s入門 - すごい広島 IT初心者の会 [84]
chanyou0311
1
410
Other Decks in Programming
See All in Programming
CSC509 Lecture 06
javiergs
PRO
0
270
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
contribution to astral-sh/uv
shunsock
0
540
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
110
社会人になっても趣味開発を続けたい! / traPavilion
mazrean
1
100
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.5k
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
160
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
430
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
3
740
Go言語はstack overflowの夢を見るか?
logica0419
0
600
CSC305 Lecture 09
javiergs
PRO
0
310
Featured
See All Featured
Music & Morning Musume
bryan
46
6.9k
What's in a price? How to price your products and services
michaelherold
246
12k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
We Have a Design System, Now What?
morganepeng
53
7.8k
The Invisible Side of Design
smashingmag
302
51k
Facilitating Awesome Meetings
lara
57
6.6k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
A Tale of Four Properties
chriscoyier
161
23k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
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