I want to make a Dr. Pepper glazed ham, which calls for pineapple juice. Unfortunately, my child is allergic to pineapple. What can I use to replace the pineapple juice and pineapple bits on the ham? 
Based on my experiences with sweet-and-sour asian dishes, I'd say good or even okay mango would work just as well, if not be an improvement. (I find canned pineapple or pineapple juice to be cloying or bland compared to fresh, and generally like mango better in savoury foods.) If you're going to puree / juice, and not eat it as-is, you can "fix" it not being perfectly ripe with some lime juice and/or brown sugar or honey. (In fact you might want to do those even with a ripe mango - mango/lime/honey is a delicious combination in and of itself.) 