Help for this page

Select Code to Download


  1. or download this
    my $payload  = to_json($args{data}, { allow_nonref => 1 });
    
  2. or download this
    my $message = "$args{data}";
    my %rec_hash = ('message' => $message);
    my $payload = to_json (\%rec_hash, { allow_nonref => 1 });