Message::Passing::Role::Filter::Encoder::JSON - Encodes data structures as JSON for output
Contents
Description
This filter takes a hash ref or an object for a message, and serializes it to JSON.
Plain refs work as expected, and classes generated by either:
Log::Message::Structures
MooseX::Storage
should be correctly serialized.
Methods
filter
Performs the JSON encoding.
pretty
Attribute controlling if JSON is pretty printed.
Name
Message::Passing::Role::Filter::Encoder::JSON - Encodes data structures as JSON for output
See Also
Message::Passing
Message::Passing::Manual::Concepts
Sponsorship
This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/>
who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use
with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>
