getAsStringWithDefault method
Converts map element into a string or returns default value if conversion is not possible.
key
a key of element to get.defaultValue
the default value Returns string value of the element or default value if conversion is not supported.