Can't retrieve key and or value from node?

Open
#1,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by reading the node API and its iteration interface to determine whether keys and values can be accessed directly. The issue does not identify files or tests; clarify the desired API and how callers should retrieve a node’s key or value before proposing a change.

Written by the indexing model from the issue text.

Description

Hello, looking at the code it does not look like there is a way to get the key or value of a node without iterating? Am I missing something or is this the case? Otherwise, I may have to switch to rapidyaml

Dominant language
C++
Stars
6.1k
Forks
2.2k
Avg merge
22h 2m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jbeder/yaml-cpp

All issues in jbeder/yaml-cpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.