circe-yaml
circe-yaml copied to clipboard
YAML parser for circe using SnakeYAML
version: 0.13.0 command ```scala import cats.syntax.either._ import io.circe.yaml._ import io.circe.yaml.syntax._ val json = io.circe.jawn.parse("""{"foo":{"description": "hello, this is a random url on circe repo. Please check this file https://github.com/circe/circe-yaml/blob/master/src/main/scala/io/circe/yaml/parser/package.scala"}}""").valueOr(throw _) io.circe.yaml.Printer().pretty(json)...
https://github.com/circe/circe/issues/1130 was resolved for the Jawn parser (https://github.com/circe/circe/pull/1149), but I don't believe this is the case for `circe-yaml` Happy to be told I'm wrong, but would be very happy to...
SnakeYAML Engine project reference here: https://bitbucket.org/asomov/snakeyaml-engine/src/master/ In my opinion, the YAML 1.1 => 1.2 syntax update represents a key feature of YAML parsing, given that YAML 1.2 is officially a...
This PR fixes an issue where numbers which have integral values are output in fractional format, but with the `!!int` tag (originaly reported in #68) Code to reproduce the issue:...
Fractional double values are printed in a quite unexpected way. This is what I get: ``` points: - x: -0 y: 1 - x: -5519150495529175e-16 y: 1 - x: -1...
SnakeYAML supports YAML's ["merge key" extension](http://yaml.org/type/merge.html), which makes the last four elements in this sequence resolve to the same thing: ```scala scala> val doc = """ | --- | -...
Any ETA on a new release that includes SnakeYAML 1.32 or higher? Thanks.
Try to set default value using options to set default value if not set. But, the parsed yaml always returning None whether we set default value or not. sbt: libraryDependencies...
Enables to indent yaml like: ``` root: - item1 - item2 ``` This applies only to circe-yaml-v12. I could not come up with a way to do it for circe-yaml...
## About this PR 📦 Updates [org.scala-lang:scala3-library](https://github.com/lampepfl/dotty) from `3.3.1` to `3.3.3` 📜 [GitHub Release Notes](https://github.com/lampepfl/dotty/releases/tag/3.3.3) - [Version Diff](https://github.com/lampepfl/dotty/compare/3.3.1...3.3.3) - [Version Diff](https://github.com/lampepfl/dotty/compare/release-3.3.1...release-3.3.3) ## Usage ✅ **Please merge!** I'll automatically update this...