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
74
CloudflareのAI関連の機能さわってみた
circled9
0
600
0.0.0.0 day
circled9
0
100
小数の丸め誤差の話
circled9
0
140
数値の文字列をパースしよう
circled9
0
230
🔥 Hono v4 やってみた
circled9
1
190
JetBrains AI Assistant を試してみた
circled9
1
520
Fresh
circled9
0
240
React Hooks 勉強会 vol.3
circled9
2
440
Other Decks in Programming
See All in Programming
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
20
3.8k
RailsGirls IZUMO スポンサーLT
16bitidol
0
110
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
880
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
0
290
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
710
VS Code Update for GitHub Copilot
74th
1
490
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
320
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
260
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
180
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
160
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
250
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
350
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Agile that works and the tools we love
rasmusluckow
329
21k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
24k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Side Projects
sachag
455
42k
Rebuilding a faster, lazier Slack
samanthasiow
82
9.1k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
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