Description of changes:
Json Library uses type not valueint to determine if value is bool. ie. type '2' is true and type '1' is false.
Fixed the return value for GetBool to take this into account.
Check all that applies:
[x] Did a review by yourself.
[ ] Added proper tests to cover this PR. (If tests are not applicable, explain.)
[x] Checked if this PR is a breaking (APIs have been changed) change.
[x] Checked if this PR will not introduce cross-platform inconsistent behavior.
[x] Checked if this PR would require a ReadMe/Wiki update.
Check which platforms you have built SDK on to verify the correctness of this PR.
[x] Linux
[x] Windows
[x] Android
[x] MacOS
[x] IOS
[x] Other Platforms
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: https://github.com/aws/aws-sdk-cpp/issues/1731
Description of changes: Json Library uses
type
notvalueint
to determine if value is bool. ie. type '2' is true and type '1' is false. Fixed the return value for GetBool to take this into account.Check all that applies:
Check which platforms you have built SDK on to verify the correctness of this PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.