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
JSONのLS/PS問題
Search
circled9
July 13, 2018
Programming
2
420
JSONのLS/PS問題
2018/07/13のJSONの日の発表資料です。
circled9
July 13, 2018
Tweet
Share
More Decks by circled9
See All by circled9
キースイッチ入門
circled9
0
75
CloudflareのAI関連の機能さわってみた
circled9
0
600
0.0.0.0 day
circled9
0
110
小数の丸め誤差の話
circled9
0
140
数値の文字列をパースしよう
circled9
0
230
🔥 Hono v4 やってみた
circled9
1
190
JetBrains AI Assistant を試してみた
circled9
1
530
Fresh
circled9
0
240
React Hooks 勉強会 vol.3
circled9
2
440
Other Decks in Programming
See All in Programming
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
380
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
120
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
140
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
180
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
0
310
XP, Testing and ninja testing
m_seki
3
220
「Cursor/Devin全社導入の理想と現実」のその後
saitoryc
0
690
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
240
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
720
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
430
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
670
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
530
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
GitHub's CSS Performance
jonrohan
1031
460k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Practical Orchestrator
shlominoach
188
11k
Music & Morning Musume
bryan
46
6.6k
Done Done
chrislema
184
16k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
17
950
Transcript
JSONͷLS/PS @circled9 2018-07-13 #friday13json
͡Ίʹ • ͜ͷࢿྉͰECMA-262ͱECMA-404ͷؒʹ ༷͋ͬͨؒͷҧ͍ͷΛ͠·͢ɻ
Ecma International • ใ௨৴γεςϜʹ͓͚Δࠃࡍతͳඪ४Խ ஂମ • ݩʑEuropean Computer Manufactures Associationͱ͍͏໊લͩͬͨ
• 1994ʹࠃࡍతͳཱΛөͯ͜͠ͷ໊લʹ ͳͬͨ
ECMA-262ͱECMA-404 • ECMA-262ͰECMAScriptͷ༷ʹ͍ͭͯ نఆ͍ͯ͠Δɻ • ECMA-404ͰJSONͷ༷ʹ͍ͭͯنఆ͠ ͍ͯΔɻ
ECMA-262, 9th • จࣈྻғΉͷʹ͍ͬͯΔΫΥʔτͱόο ΫεϥογϡͱվߦจࣈҎ֎ͳΒؚΜͰΑ͍ • վߦจࣈ<LF><CR><LS><PS>ͷ4ͭ
ECMA-404 • จࣈྻμϒϧΫΥʔτɺόοΫεϥο γϡɺ੍ޚจࣈҎ֎ͳΒԿͰΑ͍ɻ • Any code point except "
or \ or control character
Unicodeͷ੍ޚจࣈ • Unicodeͷ੍ޚจࣈʹͨΔͷҎԼͷͷ • U+0000 - U+001F (C0੍ޚίʔυ) • U+007F
(DEL) • U+0080 - U+009F (C1੍ޚίʔυ)
༷ؒͷᴥᴪ ϫΠʮLSͱPSͬͯจࣈྻʹ͍Εͯ͑͑ͷʁʯ ECMA-262ʮվߦจࣈ͔ͩΒΤεέʔϓͤͣʹ จࣈྻʹؚΊͨΒ͔͋ΜͰʯ ECMA-404ʮ੍ޚจࣈͰͳ͍͠จࣈྻʹؚΊ ͯ͑͑Ͱʯ
None
Proposal JSON Superset • TC39Ͱ͜ͷʹ͍ͭͯͷproposalΛग़ͯ͠ ͍Δɻ • PSͱLSจࣈྻʹؚΊΒΕΔΑ͏ʹ͠Α͏ͥ ͱ͍͏ఏҊɻ •
ݱࡏstage 4ͰES2019ʹؚΊΒΕΔ༧ఆɻ
·ͱΊ • ༷ͬͯΊΜͲ͍͘͞Ͱ͢Ͷ
Appendix • ECMAScript • https://ja.wikipedia.org/wiki/ECMAScript • Standard ECMA-262 • https://www.ecma-international.org/publications/standards/Ecma-262.htm
• Standard ECMA-404 • https://www.ecma-international.org/publications/standards/Ecma-404.htm • Proposal to make all JSON text valid ECMA-262 • https://github.com/tc39/proposal-json-superset