asStringOrNull

abstract fun asStringOrNull(): String?

如果此元素是 JSON 原始类型,则返回其字符串表示;否则返回 null

Return

字符串内容或 null