Yams icon indicating copy to clipboard operation
Yams copied to clipboard

Ordered Map support

Open kvaDrug opened this issue 3 years ago • 1 comments

Do this lib supports creation of an ordered map (let's say an array of tuples [(key, val)]) from YAML map? Do you plan to add it later?

kvaDrug avatar Feb 09 '22 09:02 kvaDrug

It would be nice to use ordered dictionaries by default. One motivating reason is that it supports round trip read and write. It also might be nice for those editing the YAML to have what is essentially a named array (instead of an array where one of the properties happens to be a name). This shows up nicely in the outline view of VS Code. Thanks!

afreer avatar May 13 '24 21:05 afreer