getRawString

open override fun getRawString(key: String, defaultValue: String?): String?

Gets the raw string value for the given key from the JSON object. If the key does not exist, it returns the default value.

Return

the string value for the key or null if both the key and the default value are null

Parameters

key

the key of the translation

defaultValue

the default value to use if the key does not exist