[macros] add JsonCodable support for enums #55989
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
pkg-json
The json macro package
type-enhancement
A request for a change that isn't a bug
Enum's aren't supported by the
JsonCodable
macro, this is a bit of a shame as string's don't enforce options and classes are still verbose if you have a lot of enum data types.Couldn't the enums be generated as built enum classes like built_value does?
The text was updated successfully, but these errors were encountered: