Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JSON.stringify()
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
circled9
September 13, 2019
Programming
510
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JSON.stringify()
JSON日の金曜日 #12の発表資料
circled9
September 13, 2019
More Decks by circled9
See All by circled9
キースイッチ入門
circled9
0
120
CloudflareのAI関連の機能さわってみた
circled9
0
980
0.0.0.0 day
circled9
0
150
小数の丸め誤差の話
circled9
0
160
数値の文字列をパースしよう
circled9
0
290
🔥 Hono v4 やってみた
circled9
1
250
JetBrains AI Assistant を試してみた
circled9
1
610
Fresh
circled9
0
280
React Hooks 勉強会 vol.3
circled9
2
470
Other Decks in Programming
See All in Programming
iOSDC2026登壇資料.pdf
riofujimon
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
150
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
450
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
200
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
150
Intent as Code
shoppingjaws
6
970
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
140
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
140
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
120
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
530
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Practical Orchestrator
shlominoach
191
12k
Done Done
chrislema
186
16k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
560
Discover your Explorer Soul
emna__ayadi
2
1.3k
Code Review Best Practice
trishagee
74
20k
Writing Fast Ruby
sferik
630
63k
Producing Creativity
orderedlist
PRO
348
41k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Transcript
JSON.stringify() @circled9 2019-09-13 Friday 13 JSON #12
None
Matsui Masashi দҪਖ਼ࢤ DJSDMFE ϒϥβ͕͖ͳਓ !XBUFSDFMMJOD !3
JSON.stringify()
JSON.stringify() is … • JavaScriptͷؔ • ΦϒδΣΫτΛJSONʹม͢Δ • JSONΦϒδΣΫτͷ࣋ͭؔͷதͰ3ຊͷࢦ ʹೖΔਓؾͷؔ
arguments
JSON.stringify(value[, replacer[, space]])
arguments • value • any • replacer: optional • Array<String
| Number> | function • space: optional • String | Number
value
value • JSONจࣈྻʹม͢Δɻ
replacer
replacer • ग़ྗ͢ΔJSONจࣈྻͷ੍ޚΛߦ͏ • Array<String | Number> • JSONจࣈྻʹؚΊΔϗϫΠτϦετ •
Function: function(key, value) • JSONจࣈྻʹม͢Δ࣌ͷؔ
space
space • ग़ྗ͢ΔJSONจࣈྻͷۭനΛ੍ޚ͢Δ • Number • ۭനจࣈͷ • String •
ۭനͱͯ͠༻͢Δจࣈྻ
·ͱΊ
·ͱΊ • JSON.stringify() JSONΦϒδΣΫτͷؔ ͷதͰ3ຊͷࢦʹೖΔਓؾͷؔ • ୈ2Ҿ͕࣮ߴػೳ • Ͱɺ݁ہ JSON.stringify(obj,
null, 2) Ҏ֎ ͏͜ͱ΄ͱΜͲͳ͍