Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Both working kotlinx.serialization and gson serialization. #51

Closed
wants to merge 2 commits into from

Conversation

hovi
Copy link
Collaborator

@hovi hovi commented Jul 19, 2021

No description provided.

@hovi hovi requested a review from PremekPaska July 19, 2021 07:23
@hovi hovi force-pushed the kolinx-serialization branch from 05fdec4 to bc36290 Compare July 19, 2021 07:34
@hovi hovi marked this pull request as draft July 20, 2021 10:29
@hovi hovi force-pushed the kolinx-serialization branch from b8c73ca to 943660c Compare July 20, 2021 11:15
@hovi hovi marked this pull request as ready for review July 20, 2021 11:48
@hovi hovi force-pushed the kolinx-serialization branch from 943660c to 6779c67 Compare July 20, 2021 12:59
Comment on lines +8 to 17
@SerialName("Id")
override val id: String,
@SerialName("Position")
override val position: Vec3,
@SerialName("OrientationForward")
override val orientationForward: Vec3,
@SerialName("OrientationUp")
override val orientationUp: Vec3,
@SerialName("BlockType")
val blockType: String,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like quite high price for respecting the local coding style on each side. I didn't realize it could be a problem when using a serialization library that does not support this automatic capitalization :-/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, more on that here:
Kotlin/kotlinx.serialization#33

@hovi hovi force-pushed the kolinx-serialization branch from 6779c67 to bf9c321 Compare July 20, 2021 13:27
@hovi hovi closed this Jul 21, 2021
@PremekPaska PremekPaska deleted the kolinx-serialization branch August 18, 2021 10:56
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