Ignore trailing commas as a builder parameter
Open
enhancement
- Dominant language
- Java
- Stars
- 24.2k
- Forks
- 4.5k
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 12
Description
Following up from [this closed request](
https://github.com/google/gson/issues/494).
`GsonBuilder` should have a new property `ignoreTrailingCommas()`.
Most of the JavaScript[0] ecosystem, and a lot of new languages have adopted the usecase of ignoring trailing commas. While not part of the true JSON specification it would be very convenient to move GSON forward with the rest of the ecosystem.
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas
Contributor guide
Assessment
This issue has not been assessed yet.