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
470
quicktype を使って爆速で型定義する
社内勉強会で登壇した際のLT資料です。
chanyou0311
June 26, 2020
Tweet
Share
More Decks by chanyou0311
See All by chanyou0311
おうちk8s入門 - すごい広島 IT初心者の会 [84]
chanyou0311
1
98
オンラインコミュニケーションの課題と、その乗り越え方
chanyou0311
0
390
データ分析基盤のはじめかた
chanyou0311
0
1.1k
ゼロから始める Python パッケージ配布
chanyou0311
0
250
フルリモートでもチームを作れる、超えられる!
chanyou0311
0
530
ひとり研修の体験談
chanyou0311
0
60
2020年、広島の地域 Python コミュニティの挑戦
chanyou0311
0
130
connpass-feeder で気になるイベントに参加しまくる!
chanyou0311
0
97
Other Decks in Programming
See All in Programming
両面どころかインフラもTSでできるよ ~ 全方位TypeScriptによるプロダクト開発 ~
myfinder
9
3.2k
"config" ってなんだ? / What is "config"?
okashoi
0
220
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
430
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
0
110
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
160
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
3
520
Ruby Function Composition
bkuhlmann
1
330
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
120
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
280
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
910
ONE WEDGE_company_guide
1wedge_one
0
380
1인 개발자로 행복하게 살기 - GDG 송도 헬로월드 2024
benjaminkim
1
5.6k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
Web development in the modern age
philhawksworth
202
10k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
220
21k
Writing Fast Ruby
sferik
620
60k
How to Ace a Technical Interview
jacobian
272
22k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.4k
The Invisible Customer
myddelton
114
12k
For a Future-Friendly Web
brad_frost
171
8.9k
Teambox: Starting and Learning
jrom
128
8.4k
How STYLIGHT went responsive
nonsquared
92
4.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
344
19k
Navigating Team Friction
lara
177
13k
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