transform an Yaml.Object to his corresponding Yaml.Node
obj |
the obj to transform |
parent |
the parent node |
root |
indicates if node must be add to a root node, if true a Yaml.Root node is return |
index |
for sequence entry anonymous mapping block |
property_name |
name of property name related to obj |