google / google/gson

For an enum, it should be possible to have a designated default catchall.

Open
#640 6 comments 4 reactions 1 assignee Claimed by @inder123 View on GitHub
enhancement
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

For enum Platform { IOS, ANDROID, WEB, OTHER }

I should be able to indicate that OTHER is a catch-all for all strings that don't match as specific name.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.