Package openfoodfacts. github. scrachx. openfood. models. entities. ingredient
Types
Link copied to clipboard
Created by dobriseb on 2018.10.15.
Link copied to clipboard
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>
Content copied to clipboard
Intermediate class between IngredientsWrapper and Ingredient
Link copied to clipboard
Created by dobriseb on 2018.12.22.
Link copied to clipboard
class IngredientsWrapper(ingredients: List<EntityResponse<Ingredient>>) : EntityWrapper<Ingredient>
Content copied to clipboard
JSON from URL https://ssl-api.openfoodfacts.org/data/taxonomies/ingredients.json
Link copied to clipboard
class IngredientsWrapperDeserializer : StdDeserializer<IngredientsWrapper>
Content copied to clipboard
Custom deserializer for IngredientsWrapper