jbeder / yaml-cpp

A YAML parser and emitter in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figuring out if a string will round-trip

gyorokpeter opened this issue · comments

E.g. if I render a string with the value true or 1.1, when parsed back they become a boolean and a number respectively.
Is there a way to determine if a certain string doesn't round trip and therefore needs quotes added when emitting it?