$hash{titel} = "Mein Titel"; $hash{userid} = 13; $hash{postid} = 50; $hash{text}= "ich bin eine text :D"; push(@arr,\%hash); $hash1{titel} = "Mein Titel2.0"; $hash1{userid} = 12; $hash1{postid} = 70; $hash1{text}= "ich bin eine text 2.0 :D"; push(@arr,\%hash1); $inhalt = encode_json(\@arr); my @decoded_json = @{decode_json($inhalt)}; print "Hier komme der Hash"; print $arr[0]->{text};