kaml
kaml copied to clipboard
YAML support for kotlinx.serialization
### Describe the problem you'd like to solve Hi everyone, I was looking at the supported multiplatform targets and saw that out of tier 2 those three are currently supported:...
### Describe the bug Unexpected failure when decoding an inline class with a list value. ### Reproduction repo _No response_ ### Steps to reproduce ```kotlin @JvmInline @Serializable value class Foo(val...
Second bug from https://github.com/charleskorn/kaml/pull/607 (as preparation for the PR) > Previously it was not possible to implement a content based polymorphic serializer in the case that one of the types...
First bug from https://github.com/charleskorn/kaml/pull/607 > Previously the `node` property on the decoders was not traversed in deep YAML trees (e.g. with `YamlMapLikeInputBase` and `YamlListInput`). This behaviour is different from the...
- [x] Implemented `YamlContentPolymorphicSerializer` in the same manner as [`JsonContentPolymorphicSerializer`](https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-json/kotlinx.serialization.json/-json-content-polymorphic-serializer/) - [x] Implemented tests for `YamlContentPolymorphicSerializer` - Depends on: - https://github.com/charleskorn/kaml/pull/617 - https://github.com/charleskorn/kaml/pull/618 Example usage: ```kotlin @Serializable(with = AnimalSerializer::class) sealed...
Related to #27
Depends on #615 Related to #27
Hi, @charleskorn. This PR should resolve #27. Please let me know if you have any comments/suggestions/objections regarding how I split the test. Also, I think the tests can be grouped...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.plugin.serialization | `2.0.10` -> `2.0.20` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...