-
-
Notifications
You must be signed in to change notification settings - Fork 54
YAML Visitor
Mihai A edited this page Jan 25, 2024
·
1 revision
We offer the convenient YamlVisitor interface, as well as the accompanying methods (YamlNode.accept(...), YamlNode.children()), so you can easily implement any visitor on top of your YamlNode. Just implement this interface and all the elements of a YAML object will be visited one by one.
See YamlPrintVisitor, for an example.