We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 710d24b commit c68be0aCopy full SHA for c68be0a
1 file changed
src/main/java/cc/udp/httpjson/HttpJsonObject.java
@@ -41,9 +41,9 @@ public String toString()
41
return ((JSONObject) item).toJSONString();
42
}
43
44
- public JSONObject getObject(String key)
+ public HttpJsonObject getObject(String key)
45
{
46
- return (JSONObject)((JSONObject)item).get(key);
+ return new HttpJsonObject(((JSONObject)item).get(key));
47
48
49
public Object get(String key)
0 commit comments