hjson v3.1.0 Release Notes

Release Date: 2020-09-17 // about 3 years ago
  • ๐Ÿ‘ Implement Marshal for structs, with support for comments in structs:

    type foo struct {
      a A `comment:"First comment"`
      b B `comment:"Second comment"`

    โž• Additional minor bug fixes.

    • ๐Ÿ›  Fix panic when passing nil to Unmarshal
    • ๐Ÿ› Bug fix for marshal of unsigned types
    • ๐Ÿ› Bug fix for README add closing block for code section
    • ๐Ÿ‘‰ Use custom Marshaler if type implements Marshal interface
    • โž• Add unit tests for Marshal. encode.go coverage at 94.9%

Previous changes from v3.0.0