• t

    thevery

    3 years ago
    @sandwwraith is there any version for 1.3.20?
    t
    s
    3 replies
    Copy to Clipboard
  • Lulu

    Lulu

    3 years ago
    Is it possible to serialize a field that can be either boolean or Double? (No it's not my API, I wouldn't have designed it that way)
    Lulu
    s
    2 replies
    Copy to Clipboard
  • hallvard

    hallvard

    3 years ago
    I did believe it should be faster, as the different fields are identified during compilation and no reflection should be needed in runtime. I may be wrong though. Could someone else shed some light here?
    hallvard
    1 replies
    Copy to Clipboard
  • charleskorn

    charleskorn

    3 years ago
    I’ve created a very basic library to add support for YAML to kotlinx.serialization: kaml It’s very limited at the moment (it only supports deserialisation) and is very, very rough (I’ve taken a bunch of shortcuts that will hurt performance, and there are a bunch of error messages that aren’t great), but I’d love any feedback, suggestions or contributions you might have 🙂 More details: https://github.com/charleskorn/kaml
    charleskorn
    1 replies
    Copy to Clipboard
  • s

    sandwwraith

    3 years ago
    📣 Serialization v
    0.10.0-eap-1
    (dev branch) has just been released! This is a companion release to Kotlin
    1.3.20-eap-52
    Highlights: • Now Native plugin supports generics, @SerialInfo annotations and other features that were missing before • Now
    SerialDescriptor.getElementDescriptor
    is working and one can use it to deeply inspect descriptors tree • JSON now can omit default values • (breaking change) Context serializer is not enabled automatically anymore, use
    @ContextualSerialization
    on property. Full changelog: https://github.com/Kotlin/kotlinx.serialization/blob/dev/CHANGELOG.md
    s
    Jonas Bark
    2 replies
    Copy to Clipboard
  • t

    thevery

    3 years ago
    Is it a known issue for native?
    error: compilation failed: Unable to resolve exported type ExternalType(hash='8694429315213666092', name='kotlinx.serialization.KSerializer')
    t
    s
    5 replies
    Copy to Clipboard
  • Nikky

    Nikky

    3 years ago
    is there any plans for Comments in Json ?
    @Comment("what the thing does")
    on a filed and
    Json(enableComments = true)
    to allow parsing and serializing them
    Nikky
    s
    +2
    9 replies
    Copy to Clipboard
  • Nikky

    Nikky

    3 years ago
    which crashes because the
    SerialClassDescImpl
    rather throws a
    MissingDescriptorException
    than returning a
    StringDescriptor
    Nikky
    s
    5 replies
    Copy to Clipboard
  • a

    Alexander

    3 years ago
    Are there any plans to make
    kotlinx.serialization.json.Parser
    public? I want to parse json stream and there are jvm-only solutions. Think it would be nice to have multiplatform streaming parser.
    a
    gildor
    +1
    6 replies
    Copy to Clipboard
  • s

    serebit

    3 years ago
    Will HOCON support eventually be merged into the mainline runtime? Also, will the existing HOCON artifact ever get native support?
    s
    1 replies
    Copy to Clipboard