Skip Menu |

This queue is for tickets about the JSON-Tiny CPAN distribution.

Report information
The Basics
Id: 107951
Status: new
Priority: 0/
Queue: JSON-Tiny

People
Owner: Nobody in particular
Requestors: DBOOK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Use JSON:PP::Boolean compatible booleans
Currently, JSON::XS, Mojo::JSON, and (obviously) JSON::PP use booleans that appear to be (or are) JSON::PP::Boolean. Mojo::JSON has made this change recently, opting to simply use the JSON::PP booleans directly, since it is a core module in 5.14+ (https://github.com/kraih/mojo/commit/7a65c82cc4e3f22a348e27e1663ce02ff5390583). Cpanel::JSON::XS is planning to represent its booleans as JSON::PP::Boolean instead of the current JSON::XS::Boolean (which JSON::XS no longer uses anyway) (https://github.com/rurban/Cpanel-JSON-XS/commit/f6d3826e17d67979933cc19168215790684f940d). JSON::XS uses Types::Serialiser booleans which are aliased to JSON::PP::Boolean (https://metacpan.org/source/MLEHMANN/Types-Serialiser-1.0/Serialiser.pm#L105). It would be appropriate for JSON::Tiny to follow this pattern as well, by any of the above methods.