edvin
01/21/2018, 3:58 PMJsonObject.string() returns a String? and your property called name is defined as not nullable. You can change to JsonObject.getString() etc instead, those will always return (and require) a value, and optionally takes a default value if the json document didn't contain a value for the key you gave it.