ckage SPVM::JSON;
our $VERSION = "1.002";
1;
=head1 NAME
SPVM::JSON - JSON
=head1 Description
JSON class in L<SPVM> has methods to manipulate L<JSON|https://en.wikipedia.org/wiki/JSON>.
=head1
Usage
use JSON;
# new
my $json = JSON->new;
# decode
my $spvm_data = $json->decode($json_data);
# encode
my $json_data = $json->encode($spvm_data);
=head1 Class Methods
=head
d new : JSON ();
Creates a new L<JSON|SPVM::JSON> object.
=head1 Instance Methods
=head2 encode
method encode : string ($spvm_data : object);
Converts the SPVM data $spvm_data to a JSON data.