Package openfoodfacts.github.scrachx.openfood.models.entities.allergen

Types

Link copied to clipboard
open class Allergen : TaxonomyEntity
Link copied to clipboard
object AllergenHelper
Link copied to clipboard
open class AllergenName
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>

Intermediate class between AllergensWrapper and Allergen

Link copied to clipboard
class AllergensWrapper(allergens: List<EntityResponse<Allergen>>) : EntityWrapper<Allergen>

JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/allergens.json (top 14 allergens and substances)

Link copied to clipboard
class AllergensWrapperDeserializer : StdDeserializer<AllergensWrapper>

Custom deserializer for AllergensWrapper