I am not sure if they are edible to humans but the birds seem to love them too and this is usually one indication that we can eat them. They sometimes come in a more roundish shape like this and go orange when ripe.
What I found interesting was that this caterpillar took on the color of the ripened fruit in order for it to blend in.