Closed aidy closed 7 years ago
Thanks for the patch, but JSON::backportPP is actually JSON::PP copied for backward compatibility. Could you modify and resend this patch to JSON::PP (https://github.com/makamaka/JSON-PP/ )?
Will do :)
Applied your patch to JSON as well, by synching utility. Thanks.
No worries - thank you!
is_bool uses UNIVERSAL::isa, which isn't now recommended. This notably causes a problem with the string "JSON::PP::Boolean", which it incorrectly identifies as a boolean value.
Fix by using ->isa("JSON::PP::Boolean") as recommended by perldoc.