Both are fine. Puree the fruit and measure out two cups. You might need to tweak the quantity of sugar in the recipe depending on how sweet the mangoes are.