NAME

POE::Filter::JSONMaybeXS - A POE filter using JSON::MaybeXS

VERSION

version 0.002

SYNOPSIS

use POE::Filter::JSONMaybeXS;

my $filter = POE::Filter::JSONMaybeXS->new(
  allow_nonref => 1,  # see the JSON::MaybeXS new options
);
my $obj = { foo => 1, bar => 2 };
my $json_array = $filter->put( [ $obj ] );
my $obj_array = $filter->get( $json_array );

use POE qw(
  Filter::Stackable
  Filter::Line
  Filter::JSONMaybeXS
);

my $filter = POE::Filter::Stackable->new();
$filter->push(
  POE::Filter::Line->new(),
  POE::Filter::JSONMaybeXS->new(),
);

DESCRIPTION

More documentation to come...

More tests to come...

Based on POE::Filter::JSON

Best used together with POE::Filter::Line

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.