How to Make It
Place vegetable, garlic, and herb in a 1-pint mason jar or nonreactive dish.
Why? Vegetable density affects brining time, so pickle like with like. Specialty canning jars aren't required, but the acidic brine will react chemically with some metals and impart a bitter taste: Use glass, stainless steel, glazed ceramic, or food-safe plastic containers.
Place vinegar and remaining ingredients in a nonreactive saucepan over medium heat; simmer, stirring, until dissolved. Let stand 5 minutes. Why? Heating dissolves salt and sugar quickly and steeps the spices. Acidic vinegar preserves vegetables and inhibits bacteria. Use kosher salt, which is free of bitter caking agents and minerals that can cloud the pickling brine.
Warm mason jars, if using, in a pan of hot water. Pour hot vinegar mixture into jars, fully submerging vegetables; cool to room temperature. Cover and refrigerate 1 to 3 days or until pickles taste tangy and texture is crisp-tender. Refrigerate up to 2 weeks.
Why? Warming tempers glass to decrease risk of shattering when hot brine is added. Heated pickling liquid kicks off the softening process. Immediately refrigerating prevents spoilage. Vegetables' size and sturdiness will determine pickling length.