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
400
JSONのLS/PS問題
2018/07/13のJSONの日の発表資料です。
circled9
July 13, 2018
Tweet
Share
More Decks by circled9
See All by circled9
キースイッチ入門
circled9
0
47
CloudflareのAI関連の機能さわってみた
circled9
0
380
0.0.0.0 day
circled9
0
72
小数の丸め誤差の話
circled9
0
97
数値の文字列をパースしよう
circled9
0
140
🔥 Hono v4 やってみた
circled9
1
150
JetBrains AI Assistant を試してみた
circled9
1
420
Fresh
circled9
0
230
React Hooks 勉強会 vol.3
circled9
2
410
Other Decks in Programming
See All in Programming
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
Security_for_introducing_eBPF
kentatada
0
110
Haze - Real time background blurring
chrisbanes
1
510
Jakarta EE meets AI
ivargrimstad
0
240
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
선언형 UI에서의 상태관리
l2hyunwoo
0
150
Refactor your code - refactor yourself
xosofox
1
260
Symfony Mapper Component
soyuka
2
730
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
A better future with KSS
kneath
238
17k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Agile that works and the tools we love
rasmusluckow
328
21k
The Cult of Friendly URLs
andyhume
78
6.1k
Become a Pro
speakerdeck
PRO
26
5k
4 Signs Your Business is Dying
shpigford
181
21k
Code Review Best Practice
trishagee
65
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
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