Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Hexilee
Copy link
Contributor

@Hexilee Hexilee commented Feb 23, 2018

Hi, @tidwall

I hope gjson can parse "false" as false and I made it.
In standard JSON, "false" shouldn't be equal to false. However, given that gjson is really useful and ergonomic, I always translate XML or YAML to JSON and parse it using gjson.
In XML or YAML, it's hard to judge if a "false" is string or bool, so we always regard it as string when it is translated to JSON.

Thank you.

@tidwall tidwall merged commit 01f00f1 into tidwall:master Feb 23, 2018
@Hexilee
Copy link
Contributor Author

Hexilee commented Feb 23, 2018

Hi, @tidwall

Can you release a new version?
I need it for my development.

Thanks.

@tidwall
Copy link
Owner

tidwall commented Feb 23, 2018

Just did. Thanks!

@Hexilee
Copy link
Contributor Author

Hexilee commented Feb 23, 2018

It works, thank you very much!

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

Successfully merging this pull request may close these issues.

2 participants