NAME

POE::Filter::JSONMaybeXS

VERSION

version 0.001

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::JSONMaybeXS->new(),
  POE::Filter::Line->new(),
);

DESCRIPTION

Uses incr_parse, so can handle incremental JSON...

More documentation to come...

More tests to come...

Based on POE::Filter::JSON

NAME

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

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.