Closed eserte closed 4 years ago
I am also getting this error.
I cannot confirm that it is related to JSON::XS but I have version 4.02 installed.
My JSON::XS 4.02 came in as a CPAN dependency, possibly from trying to install JSON::API via CPAN as I could not find a package for it.
I removed the JSON::XS 4.02 and installed the vendor package. Now I have version 3.01 and the CPAN install for JSON::API works.
Linux Mint 18.2 Sonya based on Debian Stretch.
@geofffranks I can take a look at the testsuite, can you add the hacktoberfest label to this bug?
http://www.cpantesters.org/cpan/report/467724f0-bcf3-11e9-87ff-99d510da25b2
After running ./Build test
locally I didn't get an error. crud
I do have json::xs 3.4 installed though
Good news! I've upgraded JSON::XS to 4.x and I'm now getting test failures!
Bad news the errors indicate JSON::XS isn't throwing errors when bad json is given to deserialize. I'll check on the use flags when importing JSON;
since JSON::XS 4, allow_nonref is default true, which causes it to no longer throw for "invalid" json. See https://github.com/geofffranks/json-api/pull/6
On my smokers I see the following test failures:
This seems to happen if the newest version of JSON::XS (4.0) is installed.