Gets the field with the given key from the JsonMap, or null if not defined.
null
if an invalid type is specified.