francoispqt / gojay

high performance JSON encoder/decoder with stream API for Golang
MIT License
2.11k stars 112 forks source link

deterministic generation #113

Closed jackhftang closed 5 years ago

jackhftang commented 5 years ago

Currently, each generation of code has different order of definition of struct. In many case, It is more desirable to generate the same file given the same input.