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
Add emition of json that keaps the types of the build in onjects.
I know that it is possible to emmit valid json with something like: emitter << YAML::DoubleQuoted << YAML::Flow << ... but that converts all fields to strings when parsed to json so this:
I think the key point in this issue is that it's not clear whether the behavior of YAML::DoubleQuoted as applied to numbers and booleans is intended or correct, since it changes the type of the output.
Add emition of json that keaps the types of the build in onjects.
I know that it is possible to emmit valid json with something like:
emitter << YAML::DoubleQuoted << YAML::Flow << ...
but that converts all fields to strings when parsed to json so this:is converted to:
which certainly is valid json but the
port
andhttps
fields have changed their type fromint/bool
tostring
which is not desired.The text was updated successfully, but these errors were encountered: