app
androidJvm
app
/
openfoodfacts.github.scrachx.openfood.utils
/
DeserializerHelper
Deserializer
Helper
androidJvm
object
DeserializerHelper
Content copied to clipboard
Functions
Properties
Functions
extract
Child
Node
As
Text
Link copied to clipboard
androidJvm
fun
extractChildNodeAsText
(
subNode
:
Map.Entry
<
String
?
,
JsonNode
>
,
key
:
String
?
)
:
List
<
String
>
Content copied to clipboard
Extracts child nodes from a map of subnodes
extract
Map
From
Json
Node
Link copied to clipboard
androidJvm
fun
extractMapFromJsonNode
(
namesNode
:
JsonNode
)
:
Map
<
String
,
String
>
Content copied to clipboard
Extracts names form the names node in the Json Response
Properties
CHILDREN_KEY
Link copied to clipboard
androidJvm
const
val
CHILDREN_KEY
:
String
Content copied to clipboard
COLOR_KEY
Link copied to clipboard
androidJvm
const
val
COLOR_KEY
:
String
Content copied to clipboard
COUNTRY_CODE_2_KEY
Link copied to clipboard
androidJvm
const
val
COUNTRY_CODE_2_KEY
:
String
Content copied to clipboard
COUNTRY_CODE_3_KEY
Link copied to clipboard
androidJvm
const
val
COUNTRY_CODE_3_KEY
:
String
Content copied to clipboard
EN_KEY
Link copied to clipboard
androidJvm
const
val
EN_KEY
:
String
Content copied to clipboard
ICON_KEY
Link copied to clipboard
androidJvm
const
val
ICON_KEY
:
String
Content copied to clipboard
NAMES_KEY
Link copied to clipboard
androidJvm
const
val
NAMES_KEY
:
String
Content copied to clipboard
PARENTS_KEY
Link copied to clipboard
androidJvm
const
val
PARENTS_KEY
:
String
Content copied to clipboard
SHOW_INGREDIENTS_KEY
Link copied to clipboard
androidJvm
const
val
SHOW_INGREDIENTS_KEY
:
String
Content copied to clipboard
TYPE_KEY
Link copied to clipboard
androidJvm
const
val
TYPE_KEY
:
String
Content copied to clipboard
WIKIDATA_KEY
Link copied to clipboard
androidJvm
const
val
WIKIDATA_KEY
:
String
Content copied to clipboard