DeserializerHelper

object DeserializerHelper

Functions

Link copied to clipboard
fun extractChildNodeAsText(subNode: Map.Entry<String?, JsonNode>, key: String?): List<String>

Extracts child nodes from a map of subnodes

Link copied to clipboard
fun extractMapFromJsonNode(namesNode: JsonNode): Map<String, String>

Extracts names form the names node in the Json Response

Properties

Link copied to clipboard
const val CHILDREN_KEY: String
Link copied to clipboard
const val COLOR_KEY: String
Link copied to clipboard
const val COUNTRY_CODE_2_KEY: String
Link copied to clipboard
const val COUNTRY_CODE_3_KEY: String
Link copied to clipboard
const val EN_KEY: String
Link copied to clipboard
const val ICON_KEY: String
Link copied to clipboard
const val NAMES_KEY: String
Link copied to clipboard
const val PARENTS_KEY: String
Link copied to clipboard
const val SHOW_INGREDIENTS_KEY: String
Link copied to clipboard
const val TYPE_KEY: String
Link copied to clipboard
const val WIKIDATA_KEY: String