Package openfoodfacts. github. scrachx. openfood. models. entities. allergen
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Country code and translated name of an Allergen
Link copied to clipboard
class AllergenResponse( uniqueAllergenID: String, names: Map<String, String>, wikiDataCode: String? = null) : EntityResponse<Allergen>
Content copied to clipboard
Intermediate class between AllergensWrapper and Allergen
Link copied to clipboard
class AllergensWrapper(allergens: List<EntityResponse<Allergen>>) : EntityWrapper<Allergen>
Content copied to clipboard
JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/allergens.json (top 14 allergens and substances)
Link copied to clipboard
Custom deserializer for AllergensWrapper