Use Data::Serializer, instead of hardcoding YAML. Allow the type of serializer
authorChris Andrews <chris@nodnol.org>
Sat, 30 May 2009 12:06:14 +0000 (13:06 +0100)
committerChris Andrews <chris@nodnol.org>
Sat, 30 May 2009 12:06:14 +0000 (13:06 +0100)
commita5ae1e8c02bf454ebeb9d0d727409fef77d904d7
tree2b09989ebe56d337beeea58d5c9c881158dcf3a8
parent9ccefd636bc8b912ed8cead0a231964fe20b4fbe
Use Data::Serializer, instead of hardcoding YAML. Allow the type of serializer
to be overridden per-controller, in the Catalyst config. We still require YAML,
but now you can actually choose to use something else.

Also add a test for overriding to JSON.
MANIFEST
Makefile.PL
README
lib/Catalyst/Controller/MessageDriven.pm
t/03-json-message.t [new file with mode: 0644]
t/server.pl
testapp/lib/StompTestApp/Controller/TestJsonController.pm [new file with mode: 0644]