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

_json2azv関数がbool値(true/false)に対応していない #2

Open
nikolat opened this issue Nov 10, 2021 · 2 comments
Open

_json2azv関数がbool値(true/false)に対応していない #2

nikolat opened this issue Nov 10, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@nikolat
Copy link
Owner

nikolat commented Nov 10, 2021

_json2azvを使ってパースするとbool値(true/false)がいずれも0になる

Twitter API のレスポンスをパースする際などに注意が必要となる

現状の回避策としては事前にtrueを1に置換しておくしかない

@nikolat nikolat added bug Something isn't working invalid This doesn't seem right and removed bug Something isn't working invalid This doesn't seem right labels Nov 10, 2021
@nikolat
Copy link
Owner Author

nikolat commented Nov 25, 2021

nullも0になる(nilにはならない)
Mastodon APIのレスポンスをパースする際に注意

@nikolat
Copy link
Owner Author

nikolat commented Feb 21, 2024

負数のパースも失敗する(0になる)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant