Tests which I believe show that JSON encoding is handled correctly. I.E. You pass...
authorTomas Doran <bobtfish@bobtfish.net>
Mon, 26 Oct 2009 23:52:23 +0000 (23:52 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Mon, 26 Oct 2009 23:52:23 +0000 (23:52 +0000)
commitc6c4ff28f913e990540021611f0b4bd3b5eda494
tree733c7b306212c34ae7e5245211e1909a0ea68169
parent72b4a0bb753b350c5ccb9a8b037497adf3efe239
Tests which I believe show that JSON encoding is handled correctly. I.E. You pass in a character string (in perl's internal representation), and it's correctly encoded as utf8 in the JSON. It's then decoded when it arrives in the test controller and needs to be re-encoded to push into the output. Then for comparison in the tests we need to encode the character string back into bytes so that the test is testing like for like..
t/json.t
t/lib/Test/Serialize/Controller/REST.pm