-
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.
Deserialize JSON using KotlinX Serialization instead of Gson (#270)
* Add Kotlin serialization library * Prepare all entities to be serializable by kotlinx serializer * Use Kotlin serializer instead of Gson * Ensure accounts ids are String in test JSON files as defined in API doc * Move Json base settings to internal object * Remove remnants of Gson and replace them with kotlinx.Json * Detekt/checkstyle * Remove MastodonClient#getSerializer, instead use module object Json * Replace star imports with single imports * Do not share kotlinx serialization dependency with library consumers * Change recently merged data classes to kotlinx Serializable * Remove serializer from MockClient
- Loading branch information
1 parent
06c53e5
commit 1d4c306
Showing
79 changed files
with
759 additions
and
746 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
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
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
Oops, something went wrong.