lication;
use strict;
use warnings;
use version; our $VERSION = qv('0.01');
use Class::Std;
use JSON::XS 2.01;
my %flow_control_of :ATTR(:name<flow_control> :default<()>);
my %viewstate_of :ATTR
flow_control && $viewstate ) {
$flow_control->restore_state_recursive(
decode_json(
$viewstate_of{ident $self} = $viewstate
)
);
}
retu
= $flow_control->get_state_recursive();
if ( ref $viewstate ) {
$viewstate = encode_json($viewstate);
}
return $viewstate_of{$ident} = $viewstate;
}
1;
__END__
=pod
=head1 N