IllegalArgumentException: Unsupported value thrown when adding key/value to a JSONObject

前端 未结 0 1928
南方客
南方客 2020-12-15 06:56

The following code:

JSONObject obj = new JSONObject();
obj.put("name", "foo");

Returns the following error when compiling

相关标签:
回答
  • 消灭零回复
提交回复
热议问题