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
440
2
Share
JSONのLS/PS問題
2018/07/13のJSONの日の発表資料です。
circled9
July 13, 2018
More Decks by circled9
See All by circled9
キースイッチ入門
circled9
0
100
CloudflareのAI関連の機能さわってみた
circled9
0
870
0.0.0.0 day
circled9
0
130
小数の丸め誤差の話
circled9
0
150
数値の文字列をパースしよう
circled9
0
270
🔥 Hono v4 やってみた
circled9
1
220
JetBrains AI Assistant を試してみた
circled9
1
580
Fresh
circled9
0
270
React Hooks 勉強会 vol.3
circled9
2
460
Other Decks in Programming
See All in Programming
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
350
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
780
第3木曜LT会 #28
tinykitten
PRO
0
110
Swift Concurrency Type System
inamiy
0
530
How Swift's Type System Guides AI Agents
koher
0
270
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
340
CDK Deployのための ”反響定位”
watany
4
770
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
200
10 Tips of AWS ~Gen AI on AWS~
licux
5
410
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
330
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
700
From π to Pie charts
rasagy
0
160
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Test your architecture with Archunit
thirion
1
2.2k
The Invisible Side of Design
smashingmag
302
52k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Scaling GitHub
holman
464
140k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
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