Composting question

Composting question

Hi, stupid question... I was just wondering if I could compost jam! I have been given some jars of rather awful jam, so they've been opened but not eaten. I want to recycle the glass jars. I have a composter in the yard that I put garden cuttings and food scraps in (not dairy or meat) - do you think I could chuck the jam in there too, or would there be adverse effects?
Hats on display

Hats on display

HI GUYS!!!

HI GUYS!!!

cantaloupes and tigger melons

cantaloupes and tigger melons

PLANT ID

PLANT ID

Updated Look

Updated Look

Gardening as a hobby

Gardening as a hobby