mirror of
https://github.com/status-im/nim-json-serialization.git
synced 2025-02-18 04:56:54 +00:00
Currently, we encode enum values always as the numeric value `ord(val)`. unless explicitly overridden using `serializesAsTextInJson` or with a custom `writeValue` implementation. Reduce verbosity by automatically doing that.