mso@... (mso@...) wrote:
> The tutorial is great but I think the !omap example needs to be expanded.
> You're presenting two topics at once. One is the one-item-dict-in-list
> syntax, which is YAML's way of handling ordered dicts (or duplicate dicts,
> not that you want to mention that). Whether you use !omap or not, the
> value is legal YAML. Without !omap you'd get a list of one-item dicts,
> which you can then convert yourself to another data structure.
Yeah, I guess that example might have a bit much. I suppose I wanted a
light introduction to transfer methods and I figured that would be a
good place to do so. But I don't want it be confusing, which could be
the case. I'm sure someone will think, "But what is this example if the
!omap is left off?"
Anyone have suggestions for improving this section? Cut the transfer
method? Go with something simpler?