kaml
kaml copied to clipboard
YAML support for kotlinx.serialization
### Describe the bug SingleLineStringStyle.Plain quotes polymorphic types ### Reproduction repo _No response_ ### Steps to reproduce ```kotlin fun sample() { val yaml = Yaml( configuration = YamlConfiguration( polymorphismStyle =...
### Describe the problem you'd like to solve If there is polymorphic default serializer, I would like to use it not only for unknown classes, but also, when class is...
### Describe the bug snakeyaml added a limit 3MiB limit: https://github.com/snakeyaml/snakeyaml/commit/72dfa9f1074abe2b8a6c8776bee4476b0aed02e3, and https://github.com/snakeyaml/snakeyaml/commit/440d98e2ebd586aafd9034fc74a2a47c656eb0ce This probably needs adjustments: https://github.com/charleskorn/kaml/blob/6a29c79d8ee15c255a58b588c75545bc05150756/src/jvmMain/kotlin/com/charleskorn/kaml/YamlParser.kt#L33 It causes `decodeFromStream` to fail for documents exceeding 3145728 code points: ```...
Please have a look at the individual commit messages for the details.
### Describe the problem you'd like to solve When parsing OpenAPI Specifications, you need to _peek_ or be able to interact with subsections of the YAML. For example for `Reference`...
### Describe the problem you'd like to solve Kaml only support FlowStyle.Flow in sequence type. All other cases are FlowStyle.Block which contains a lot of indients which is space comsuming....
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | io.kotest.multiplatform | `5.9.1` -> `6.0.0-LOCAL` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-serialization-core](https://redirect.github.com/Kotlin/kotlinx.serialization) | `1.7.1` -> `1.7.3` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
### Describe the problem you'd like to solve I have a YAML configuration that contains values which can be strings or objects such as: ```yaml # monolingual value key1: File...
Refers to #628