Subject: | Won't pass Mojo::JSON's tests. |
As a near drop-in replacement for Mojo::JSON, Mojo::JSON::Any (with
Mojo::JSON::XS) should be able to pass the Mojo::JSON test suite.
Currently it fails tests #17, 19, 68, 72, 73, and 81. Each of those
seem to be related to the fact that Mojo/JSON.t is expecting "1" (a
string) wheras Mojo::JSON::XS is returning 1 (an integer). Tests 86 and
87 are also failing "properly escaped" tests.
Attached is a copy of Mojo/JSON.t, modified to instantiate and test
Mojo::JSON::Any instead of Mojo::JSON. Whether or not Mojo::JSON::Any
passes (or fails) Mojolicious's t/Mojo/JSON.t tests should be a strong
indicator of whether or not regressions are introduced by the XS version.
Subject: | json.t |
Message body is not shown because it is too large.