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
42
CloudflareのAI関連の機能さわってみた
circled9
0
340
0.0.0.0 day
circled9
0
66
小数の丸め誤差の話
circled9
0
91
数値の文字列をパースしよう
circled9
0
120
🔥 Hono v4 やってみた
circled9
1
140
JetBrains AI Assistant を試してみた
circled9
1
390
Fresh
circled9
0
220
React Hooks 勉強会 vol.3
circled9
2
400
Other Decks in Programming
See All in Programming
Outline View in SwiftUI
1024jp
1
330
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
610
Remix on Hono on Cloudflare Workers
yusukebe
1
290
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
役立つログに取り組もう
irof
28
9.6k
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Ruby is Unlike a Banana
tanoku
97
11k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Writing Fast Ruby
sferik
627
61k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Typedesign – Prime Four
hannesfritz
40
2.4k
Building Applications with DynamoDB
mza
90
6.1k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Producing Creativity
orderedlist
PRO
341
39k
Agile that works and the tools we love
rasmusluckow
327
21k
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