maciejhirsz/json-rust

Support a deterministic `dump()`

njaard opened this issue · 0 comments

Right now, dump() is not deterministic because the internal HashMap is not deterministic.

It should be possible to ask dump() to sort object keys before outputting them. This makes debugging and testing application code a lot easier.