circe-yaml icon indicating copy to clipboard operation
circe-yaml copied to clipboard

Support fail on duplicate key option

Open ajj-stripe opened this issue 4 years ago • 1 comments

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 see/use this feature with circe-yaml as well.

ajj-stripe avatar May 27 '20 21:05 ajj-stripe

Implementation would probably involve adding a way to pass options to create a separate parser object, then having that parser object pass the relevant option(s) to SnakeYAML LoaderOptions

https://www.javadoc.io/doc/org.yaml/snakeyaml/latest/org/yaml/snakeyaml/LoaderOptions.html

ajj-stripe avatar May 27 '20 22:05 ajj-stripe