You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
Parsing the JSON response from "updateVideo" must be changed from "getString('result')" to "getJSONObject('result')" in order to comply with JSON spec #8
the code part in the class WriteApi should be changed from
Video result = null;
if(response.getString("result") != null) {
String jsonResult = response.getString("result");
result = new Video(jsonResult);
}
to
Video result = null;
if (response.has("result")
&& response.getJSONObject("result") != null) {
JSONObject jsonResult = response.getJSONObject("result");
result = new Video(jsonResult);
}