On legacy centreon system with JSON::XS version < 4.0 (rhel 7 and 8 ), JSON boolean values are of the type ‘JSON::PP::Boolean’. It’s an issue because we can’t manage objects in a Safe Perl object.
CTOR-957
Type of change
[ ] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[X] Functionality enhancement or optimization (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software
Community contributors
Description
On legacy centreon system with JSON::XS version < 4.0 (rhel 7 and 8 ), JSON boolean values are of the type ‘JSON::PP::Boolean’. It’s an issue because we can’t manage objects in a Safe Perl object.
CTOR-957
Type of change
How this pull request can be tested ?
The command to test it:
JSON file provided by the http server:
The test-boolean.config file:
Checklist