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
700
quicktype を使って爆速で型定義する
社内勉強会で登壇した際のLT資料です。
chanyou0311
June 26, 2020
Tweet
Share
More Decks by chanyou0311
See All by chanyou0311
データエンジニアリング領域におけるDuckDBのユースケース
chanyou0311
9
3.4k
5分でわかるDuckDB
chanyou0311
11
4.1k
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
3
1.5k
データの信頼性を支える仕組みと技術
chanyou0311
6
2.2k
Pulumi に入門してみた
chanyou0311
1
310
What is DRE? - Road to SRE NEXT@広島
chanyou0311
3
1.1k
release-please で実現する手軽で不変な Docker イメージタグ付け方法
chanyou0311
0
400
データ基盤を支える技術
chanyou0311
9
4.3k
おうちk8s入門 - すごい広島 IT初心者の会 [84]
chanyou0311
1
370
Other Decks in Programming
See All in Programming
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
940
VS Code Update for GitHub Copilot
74th
1
470
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
470
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
180
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
230
A2A プロトコルを試してみる
azukiazusa1
2
1.2k
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
150
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
660
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
110
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.1k
Benchmark
sysong
0
270
Featured
See All Featured
Practical Orchestrator
shlominoach
188
11k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
The Art of Programming - Codeland 2020
erikaheidi
54
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Documentation Writing (for coders)
carmenintech
72
4.9k
Visualization
eitanlees
146
16k
Writing Fast Ruby
sferik
628
62k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Building Applications with DynamoDB
mza
95
6.5k
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