yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Add example of emitting tags to documentation.

Open davidzchen opened this issue 1 year ago • 2 comments
trafficstars

Is there a way to emit explicit tags when emitting YAML values?

The How to Emit YAML documentation does not have any mention of this.

davidzchen avatar Jun 20 '24 08:06 davidzchen

After digging through the bugs, I found that tags can be added using YAML::LocalTag("tag").

I'm happy to add this to the documentation.

davidzchen avatar Jun 20 '24 09:06 davidzchen

Great! Happy to accept a PR.

jbeder avatar Jun 20 '24 12:06 jbeder