Combine the shredded papaya, carrots, red bell pepper, and red onion in a bowl. Note: When preparing the green papaya, if you notice a lot of sap, a quick rinse under cold water should do; there's no need to soak it.
Add whole peppercorns and crushed red pepper. Toss them together.
Boil vinegar, water, sugar, salt, ginger, and garlic in a saucepan. Give it a taste and adjust if necessary.
Tightly pack the papaya mixture into glass jars and pour the hot brine until completely submerged.
Let it cool, then put the airtight lids on.
Allow it to marinate in the refrigerator for at least a day before eating. If you want a more intense flavor, leave it for a little longer.
Notes
Green papaya: Choose one that is very firm and has a vibrant green color.Vinegar: Distilled white vinegar with 5% acidity or sharpness is ideal for pickling. It is inexpensive and won't change the color of the vegetables.Sugar: Adjust the sweetness to suit your taste.Glass Jars: Use jars with airtight lids. To prevent shattering the jars, combine the vegetables and the hot brine in a heat-proof bowl first. Transfer to jars once they have cooled.