In a non reactive pot (stainless steel, etc), combine sugar, vinegar, water, salt and all spices. Bring to a low boil, stirring to dissolve the sugar.
Add vegetables and stir. Reduce to a simmer, and cook and stir for 20 minutes.
Pour into hot, sanitized jars. Leave ½ inch of head space. Wipe the rims clean, and place lids and rings onto jars. Process in a water bath for 15 minutes, then let jars cool.
Or, after pouring into jars, seal and refrigerate.