Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Space After Key (NodeID) #11

Open
Mohido opened this issue Feb 25, 2025 · 0 comments
Open

Fix Space After Key (NodeID) #11

Mohido opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Mohido
Copy link
Owner

Mohido commented Feb 25, 2025

Summary

The space right after the mykey in mykey : somevalue will be included in the key name. Spaces in keys are not the issue, the fact that the last space is not trimmed is a real issue! Instead of expecting mykey, it is interpreted as mykey . Therefore, it will be used like: yamlObject["mykey "].getData<std::string>().

Problem

mykey : some value

mykey is represented in the library by yamlObject["mykey "].getData<std::string>().

Expected

mykey is represented in the library by yamlObject["mykey"].getData<std::string>().

@Mohido Mohido added the enhancement New feature or request label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant