devcontainers / devcontainers/spec
[proposal] Support yaml as well as jsonc
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 5.7k
- Forks
- 496
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Any interest?
Background:
`jsonc`, aka "JSON with comments", while nicer than plain JSON, is still relatively new and doesn't have full ecosystem support yet. It also has some shortcomings shared with JSON, such as not accepting trailing commas in lists/objects (except on a [per-parser exception](https://github.com/microsoft/vscode/issues/102061) basis).
`yaml` can be limited to a JSON equivalent in terms of data structures it supports, and all (or at least most) of the issues with it were allayed in 1.2+ versions of the spec (such as `on` being parsed as `true` when not quoted). It also reduces the need for as many quotes, commas, open and close braces, and first-class supports comments.
Beitragsleitfaden
Rechercherichtung
Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die vorhandene jsonc-Verarbeitung im Spec-Repository zu lokalisieren, und ermittle die vorgesehene YAML-Oberfläche und die Kompatibilitätsanforderungen; Abschlusskriterien sind im Vorschlag nicht definiert und müssen von den Maintainer:innen geklärt werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- json, yaml
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100