%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/perl-JSON-2.15/t/
Upload File :
Create Path :
Current File : //usr/share/doc/perl-JSON-2.15/t/e00_func.t

use Test::More;
use strict;
BEGIN { plan tests => 2 };
BEGIN { $ENV{PERL_JSON_BACKEND} = 0; }
use JSON;
#########################

my $json = JSON->new;

my $js = 'abc';


is(to_json($js, {allow_nonref => 1}), '"abc"');

is(from_json('"abc"', {allow_nonref => 1}), 'abc');


Zerion Mini Shell 1.0