Skip to content

0.12.0

Compare
Choose a tag to compare
@r4gus r4gus released this 03 Dec 11:15
· 36 commits to master since this release

This introduces breaking changes as the default behavior for stringify has slightly changed:

  • Enums will be serialized to their textual representation
  • u8 slices will be serialized to byte strings
  • For structs and unions:
    • null fields are skipped by default
    • fields of type std.mem.Allocator are always skipped.
    • the names of fields are serialized to text strings (you have to explicitly tell stringify to treat the name of a field as integer)

Also, stringify and parse now use the same Options.