kaml
kaml copied to clipboard
YAML support for kotlinx.serialization
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.pinterest:ktlint](https://togithub.com/pinterest/ktlint) | `0.46.1` -> `0.47.0` | [](https://docs.renovatebot.com/merge-confidence/)...
### Describe the bug Hey, TBH I'm not sure if this is a bug or just not implemented yet, I'm very new to Kotlin Multiplatform :) I'm trying to leverage...
### Describe the bug The current code uses for example `InputStreamReader(source)`. This uses the JVM default encoding. From Java 18 on, this will usually be `UTF-8` but can also be...
I've just read https://github.com/Kotlin/kotlinx.serialization/blob/v0.20.0/docs/json_transformations.md and really like that. But I need that for YAML. If you want to deserialize a GitHub action definition file, you have for example exactly the...
This file has become huge (2000+ lines 😱), making it difficult to navigate and slow to work with in IntelliJ.
### Describe the bug I've written a tiny function to convert YamlNode's into JsonElement's (the stuff I'm reading is always JSON compatible). As part of that I have to convert...
this is still very much broken and there a bunch of open questions, but this could be a viable starting point. This was basically adapted from the Json equivalents. The...
### Describe the bug [Primitive deserialization](https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md#primitive-serializer=) is not working. ### Reproduction repo This serializer class works for JSON but not for YAML. ``` @Serializer(forClass = Duration::class) object DurationSerializer : KSerializer...
Sorry if this is an unnecessary question, but due to the lack of documentation I am unsure how I would go about constructing a YAML document manually from the different...
### Describe the problem you'd like to solve When using other serialization libraries, I got used to the ability to create everything using builders. This is very lacking in this...