emancu / toml-rb

A parser for TOML using Citrus library.
MIT License
105 stars 39 forks source link

Maintain structure between parse and dump #112

Closed jakobs closed 5 years ago

jakobs commented 6 years ago

It would be great if this library could maintain the same structure and ordering of the input toml file between parse and dump.

emancu commented 6 years ago

@jakobs What do you mean by same structure?

Regarding to the order, Ruby hashes preserve the order of the definition of the keys, but you shouldn't rely on the order of a Hash.

emancu commented 6 years ago

@jakobs ?

emancu commented 5 years ago

I'm closing this issue for the lack of feedback and discussion.