Skip to content

AniListApi: migrate to kotlinx serialization#2952

Open
Luna712 wants to merge 1 commit into
recloudstream:masterfrom
Luna712:migrate21
Open

AniListApi: migrate to kotlinx serialization#2952
Luna712 wants to merge 1 commit into
recloudstream:masterfrom
Luna712:migrate21

Conversation

@Luna712

@Luna712 Luna712 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

This also fixes some circular reference issues that technically worked (albeit poorly), with Jackson but don't in kotlinx serialization. The tests caught that for me.

@JsonProperty("name") @SerialName("name") val name: String?,
@JsonProperty("voiceActors") @SerialName("voiceActors") val voiceActors: List<Staff>?,
@JsonProperty("favouriteOrder") @SerialName("favouriteOrder") val favouriteOrder: Int?,
@JsonProperty("media") @SerialName("media") val media: List<CharacterMedia>?,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants