mirror of
https://github.com/status-im/nim-json-serialization.git
synced 2025-02-19 21:38:09 +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.
nim-json-serialization
Flexible JSON serialization not relying on run-time type information.
License
Licensed and distributed under either of
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT
or
- Apache License, Version 2.0, (LICENSE-APACHEv2 or http://www.apache.org/licenses/LICENSE-2.0)
at your option. These files may not be copied, modified, or distributed except according to those terms.
Description
Languages
Nim
100%