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

Error parsing "is-a-bool: !!bool Yes" #214

Closed
nicolasboulay opened this issue Mar 13, 2021 · 5 comments · Fixed by #527
Closed

Error parsing "is-a-bool: !!bool Yes" #214

nicolasboulay opened this issue Mar 13, 2021 · 5 comments · Fixed by #527
Labels
decoder enhancement New feature or request

Comments

@nicolasboulay
Copy link

When a try to parse

is-a-bool: !!bool Yes

The parser return :

map[is-a-bool:]

but i should have "true".

@goccy
Copy link
Owner

goccy commented Mar 13, 2021

Since this library is implemented based on the 1.2 specification, yes and no are not intentionally interpreted as boolean. These are present in the 1.1 spec, but are deprecated in 1.2.

@nicolasboulay
Copy link
Author

nicolasboulay commented Mar 14, 2021 via email

@goccy
Copy link
Owner

goccy commented Nov 12, 2024

@nicolasboulay Are you still need this feature? If so, I’ll consider how to support it.

@goccy
Copy link
Owner

goccy commented Nov 13, 2024

I've supported this feature. Thank you !

@nicolasboulay
Copy link
Author

nicolasboulay commented Nov 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decoder enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants