-
Notifications
You must be signed in to change notification settings - Fork 176
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
Feature request: support kotlinx.serialization #19
Comments
@yrom Of course ! Thanks for your awesome advice ,It will be complete in Version 1.7 about one week later. |
@yrom Hi,Version,1.7Pre1 has released ,you can download the import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Optional
@Serializable
data class TestData(
@Optional
@SerialName("data")
var data: Data = Data(),
@Optional
@SerialName("state")
var state: Int = 0,
@Optional
@SerialName("err")
var err: Any = Any()
) The config dialog like this: |
Looks good! I'll try it |
close this issue ,If any problem welcome to reopen or raise new issue,tks 😄 |
Hi @wuseal ,very thanks for your awesome work.
Could you add support for the project kotlinx.serialization ?
@Serializable
@Optional
for optional property, but require default values@SerialName
for override property name with custom namee.g.
The text was updated successfully, but these errors were encountered: