Fix: to_dict returns wrong enum fields when numbering is not consecutive (#102)

Fixes #93 to_dict returns wrong enum fields when numbering is not consecutive
This commit is contained in:
Bouke Versteegh
2020-07-12 15:06:55 +02:00
committed by GitHub
parent 0ba0692dec
commit 6c29771f4c
7 changed files with 166 additions and 56 deletions

View File

@@ -0,0 +1,9 @@
{
"choice": "FOUR",
"choices": [
"ZERO",
"ONE",
"THREE",
"FOUR"
]
}