-
Notifications
You must be signed in to change notification settings - Fork 17
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
Decoding different yaml types for a single node is tricky #43
Comments
@AlistairB You can use the For example:
You get:
|
@vijayphoenix Thanks for the comment. I see that it is possible to handle my scenario, however it seems that using |
@AlistairB Also, another solution is to use If your |
If this helps, you can close the issue. |
Yeah I considered Anyway, it sounds like my usability issue is not considered a problem for HsYAML so I will close thanks. |
In some cases you might have yaml like:
In
yaml
/aeson
that is pretty simple to handle:In
HsYAML
there doesn't seem to ways to do this without getting deep into library internals.The text was updated successfully, but these errors were encountered: