-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect enums map keys and replace them with a plain String
Maps with enum keys encode into an array of alternating keys and values, instead of a dictionary. And vice versa, JSON dictionary fails to be decoded into such a map, instead expects an array. See swiftlang/swift-corelibs-foundation#3690
- Loading branch information
1 parent
d6d267d
commit cf4aa31
Showing
1 changed file
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters