Add comma and comment options
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, json
- 領域
- api
調査の方向性
Start by reading the JSON.parseImmutable proposal and the issue’s examples of trailing-comma and comment options. Determine how those input forms fit the proposal’s parsing behavior and stated safety and lossy-round-trip concerns; done means a clear decision and specified behavior for the proposed toggles.
索引モデルが issue の本文から書いたものです。
説明
There are MANY libraries that allow comments and trailing commas over JSON. That's almost all these projects do.
I propose we allow a form of the https://en.wikipedia.org/wiki/Robustness_principle and alleviate cases where loose input is acceptable. Note: not all cases will be acceptable due to it not being safe to treat these input as safe to pass through JSON to a different JSON parser. It also means that round trips may be seen as "lossy" and the comments etc. should not be kept.
I do not propose adding the plethora of other options some parsers allow.
A simple set of toggles like { trailingCommas: 'allow', lineComments: 'allow', blockComments: 'allow' } would greatly reduce need on some things that are in the 500 million+ downloads a week for these kinds of packages
- 主要言語
- HTML
- スター
- 52
- フォーク
- 4
- 平均マージ
- 17時間 35分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tc39/proposal-json-parseimmutable のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tc39/proposal-json-parseimmutable#24 · コメント 3 件 ·
tc39/proposal-json-parseimmutable の issue をすべて見る
似ている issue
-
PHP workflow streaming requests buffer the full SSE response対応中かも @Winoren が今日担当しました。 オープンreview: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
langgenius/dify#44270 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug customer-reported
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
MagnaCapax/PMSS#1085 ·
メンテナーはふだん 5 日以内に返信
-
Realtime: ASR EOU language tags leak into the LLM conversation (unintended reply-language switching)対応中かも @nexxtmobile が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
founders_reward panics on a configured Testnet when the slow-start subsidy is not a multiple of 5オープンexternal-contribution
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ZcashFoundation/zebra#11792 ·
メンテナーはふだん 1 日以内に返信