all other operators will be derived from '""'
;
# be treated like an plain array by JSON::to_json()
sub TO_JSON {my $self = shift; return [@$self]}
# additional methods for Template Toolkit, if p
EACH %]
=head2 Interaction with JSON
Likewise, L<JSON/to_json> only exports objects who possess a C<TO_JSON()>
method; so such a method is also implemented here. JSON is really
reluctant to emit any
additional calls are
needed to make it work :
my $converter = JSON->new->allow_blessed->convert_blessed;
print $converter->to_json($schizophrenic); # ["FOO","BAR","BUZ"]
=head1 PUBLIC METHODS