HubSpot / jinjava

Jinja template engine for Java
Apache License 2.0
690 stars 168 forks source link

Make output of map sorted by key in pprint. #1153

Closed hs-lsong closed 7 months ago

hs-lsong commented 7 months ago

The output of a map should be stable -- not depending on what an entry is added. So sorting them be key before serialization makes it stable.