my $json1 = decode_json($raw_json1); my $json2 = decode_json($raw_json2); push @{ $json1->{whateverkey} }, @{ $json2->{whateverkey} };