java.lang.UnsupportedOperationException: null

378 阅读1分钟

问题如题:

java.lang.UnsupportedOperationException: null

问题代码:

getAsString(GSON JsonObject "Unsupported Operation Exception: null" getAsString)

解决方法:

textJson.isJsonNull()

判空!