circe / circe-yaml

YAML parser for circe using SnakeYAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

printer.print is verbose

jeffmay opened this issue · comments

scala> io.circe.yaml.printer.print(io.circe.Json.fromInt(1))
res1: String =
"%YAML 1.1
--- 1
"

It would be nice if we separated print from printDocument and print would just be a minimal printer, similar to Json's default printer.

@jeffmay This is fixed in the latest master - using Auto as the default version tells it to leave out the version tag.