null keys

Aperta
#1,269 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, yaml
Ambito
backend

Direzione di ricerca

Start by reading the issue’s yaml::Load("null: null") example and check how yaml-cpp parses a plain null key and how string-key lookup treats it. Reproduce the reported lookup and compare it with the parsed node’s key and value. Done means the issue is explained or the behavior is confirmed and a focused fix can be identified.

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

Descrizione

Hello 👋 😸

I am currently having a problem with null keys in Yaml. AFACT this is a valid Yaml key and value:

null: null

However, the following:

auto y = yaml::Load("null: null");
y["null"] <- non-existent key 'null'

I understand that this is most likely a pilot error, but have not been able to see my mistake. So I just wanted to double check. Is this me, or is this the libraries fault?

Lingua principale
C++
Stelle
6.1k
Fork
2.2k
Merge medio
22h 2m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jbeder/yaml-cpp

Tutte le issue di jbeder/yaml-cpp

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.