softwaremill / softwaremill/tapir
Allow configuring Pickler to skip None when writing Options
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.5k
- Forks
- 468
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 34
Description
When encoding to JSON, current Pickler Writer behavior will always write None as null.
We'd like to allow configuring it so that such values are skipped entirely.
BTW default uPickle handling for Option is encoding it as an array. This will not happen when using Tapir Pickler.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating Tapir Pickler's Writer JSON encoding and its handling of Option or None; determine how writer configuration is represented. Done means a configuration can omit None values instead of writing null, while the existing behavior remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100