public override string JSON() { string strReturn = ""; strReturn += "{"; strReturn += "\"type\": \"conditionComapeText\","; strReturn += "\"output1\": " + (Output1 != null ? Output1.JSON() : "{}") + ","; strReturn += "\"conditionOperator\": \"" + ConditionOperator + "\","; strReturn += "\"output2\": " + (Output2 != null ? Output2.JSON() : "{}"); strReturn += "}"; return(strReturn); }