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

Types

Link copied to clipboard
open class Ingredient : TaxonomyEntity
Created by dobriseb on 2018.10.15.
Link copied to clipboard
open class IngredientName
Created by dobriseb on 2018.10.15.
Link copied to clipboard
class IngredientResponse(    uniqueIngredientID: String,     names: Map<String, String>,     parents: List<String>,     children: List<String>,     wikiDataCode: String?) : EntityResponse<Ingredient>

Intermediate class between IngredientsWrapper and Ingredient

Link copied to clipboard
open class IngredientsRelation
Created by dobriseb on 2018.12.22.
Link copied to clipboard
class IngredientsWrapper(ingredients: List<EntityResponse<Ingredient>>) : EntityWrapper<Ingredient>

JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/ingredients.json

Link copied to clipboard
class IngredientsWrapperDeserializer : StdDeserializer<IngredientsWrapper>

Custom deserializer for IngredientsWrapper