Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fail on duplicate key option #120

Open
ajj-stripe opened this issue May 27, 2020 · 1 comment
Open

Support fail on duplicate key option #120

ajj-stripe opened this issue May 27, 2020 · 1 comment

Comments

@ajj-stripe
Copy link

circe/circe#1130 was resolved for the Jawn parser (circe/circe#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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant