Skip to content

Generated converters

Compare
Choose a tag to compare
@roman-kozachenko roman-kozachenko released this 30 Jun 08:44
· 85 commits to master since this release
  1. MsgPackContext now has option "convertEnumsAsStrings". When it set false, enum is stored as numeric value, if true - as string. Default value is true.
  2. MsgPackContext has 2 methods - GenerateAndRegisterMapConverter and GenerateAndRegisterArrayConverter which can be used to automatic converter generation for user types. Interfaces and classes are supported. Find usage samples in Generators tests folder.