You're gonna live a long time, you've got time to change direction. Find a junior job doing something completely different, or even start studying something, anything.
Only things that can happen are that you become happy for you new job, or you fall back in love with programming.
Another option: I know an illustrator who was getting tired of the endless line of demanding clients wanting the same old work, so she decided to spice it up by taking internships one week of every month. She tries to make the internships as different as possible, examples being a baker, a clothing shop, some print/dtp shop, etc.
Maybe that could be a less radical way of getting some fresh perspective.