Numeric quantity (defaultValueNumber treated as empty string)
Unit of measurement (e.g., "g", "ml", "cups")
Ingredient name
Optionalnote: stringOptional usage note/context (e.g., "for the sauce")
Formatted string like "100@@g--Rice" or "100@@g--Rice%%for the sauce"
Formats ingredient data into a serialized string for storage/callback.
Creates a formatted string with quantity, unit, name, and optional note using the standard separators defined in typography: