I am not an expert, though I do put up jams, fruits, and pickles, and have read a good deal about canning safety. My understanding is that recipes with fruit and sugar are low-risk, as botulism and other worrisome microbes do not thrive in an acidic, low-moisture (due to sugar) environment.
A good conservative resource on food preservation is the National Center for Food Preservation out of the University of Georgia:
https://nchfp.uga.edu/
By conservative I mean risk-minimizing, nothing political.