Support JSON via Kotlin Serialization
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 4.4k
- Forks
- 627
- Avg merge
- 3d 15m
- Merged PRs (30d)
- 20
Description
I’d like to use Kotlin Serialization APIs to encode and decode JSON on the JVM, native, and JavaScript.
An early start is here:
https://github.com/square/wire/pull/1851
We still need:
- Proper support for all fancy JavaScript types like Duration and Instant.
- Fix the API to subclasses
Messageif possible - Share JVM test coverage with Gson and Moshi
Contributor guide
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
Start with the early implementation in pull request 1851 and compare it with the three remaining requirements in this issue. The work is done when JavaScript types such as Duration and Instant are supported, the Message subclass API is addressed, and JVM coverage is shared with Gson and Moshi.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100