You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>().
The text was updated successfully, but these errors were encountered:
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 expectingmykey
, it is interpreted asmykey
. Therefore, it will be used like:yamlObject["mykey "].getData<std::string>()
.Problem
mykey
is represented in the library byyamlObject["mykey "].getData<std::string>()
.Expected
mykey
is represented in the library byyamlObject["mykey"].getData<std::string>()
.The text was updated successfully, but these errors were encountered: