JSONString valueObj = v.isString();
if (valueObj == null) {
GenClient.showDebug("Skipping key [" + key + "] with non-String value [" + v.toString() + "]");
continue;
}
String value = valueObj.stringValue();
endIndex = Math.min(value.length(), Settings.MAX_RESPONSE_REPORTED_FOR_DEBUGGING);
String valueTruncate = value.substring(0,endIndex);
GenClient.showDebug("Received key, valueTruncate: [" + key + "], [" + valueTruncate + "]");
if (key.equals(Settings.FORM_PARM_ACTION)) {
action = value;