Even glass mason jars can pick up odors over time.
Fortunately, you already have what you gotta de-stink them right in your kitchen.
Rinse and dry the jar first so you get rid of any loose particles of food.
The salt trick worked like a charm.
As an experiment, I also tried it on a plastic storage container wed saved some Indian food in.
Id just stick to soaking those in vinegar and water.
How to de-stink glass jars| Instructables