org.json.jsonexception: значение null of type org.json.jsonobject $ 1 не может быть преобразовано в jsonobject

String crappyPrefix = "null";

if(result.startsWith(crappyPrefix)){
    result = result.substring(crappyPrefix.length(), result.length());
}
JSONObject jo = new JSONObject(result);
Angry Ant