Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use JSON;
    ...
    print Dumper($result);
    my $rec = XMLout( $result, RootName => 'root', SuppressEmpty => 1);
    print Dumper($rec);
    
  2. or download this
    $VAR1 = {
              'a' => 'x',
              'b' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' )
    ...
            };
    $VAR1 = '<root a="x" b="true" />
    ';