Skip to content

Symbol options does not support kotlinx serialization #1195

@guillermolc

Description

@guillermolc

Good morning, I would like to know if you could modify the Symbol Options class in the data property, so that it accepts JsonElements from Kotlinx.

Example:

public class SymbolOptions extends Options {
private JsonElement data; ---> This only accept a com.google.gson.JsonElement
}

And need

public class SymbolOptions extends Options {
private JsonElement data; ---> kotlinx.serialization.json.JsonElement
}

It would be nice if you could apply this, especially since many people are starting to use this extension in cross-platform projects and import Gson and Kotlinx Serialization at the same time, it does not make sense :)

Good day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions