devcontainers / devcontainers/spec

[proposal] Support yaml as well as jsonc

Aperta
#203 4 commenti 6 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
5.7k
Fork
496
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

L’issue non indica file, test o punti di ingresso. Inizia individuando la gestione esistente di jsonc nel repository della specifica e determina la superficie YAML prevista e i requisiti di compatibilità; i criteri di completamento non sono definiti nella proposta e richiedono un chiarimento da parte dei maintainer.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
json, yaml
Ambito
tooling
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.