fluid-api/src/main/java/com/fluidbpm/program/api/vo/sqlutil/sqlnative/SQLRow.java
@Override
    public JSONObject toJsonObject() throws JSONException {

        JSONObject returnVal = super.toJsonObject();

        //SQL Columns...
        if(this.getSqlColumns() != null)
        {
            JSONArray jsonArray = new JSONArray();

            for(SQLColumn toAdd : this.getSqlColumns())
            {
                jsonArray.put(toAdd.toJsonObject());
            }

            returnVal.put(JSONMapping.SQL_COLUMNS, jsonArray);
        }
        
        return returnVal;
    }
@Override
    public JSONObject toJsonObject() throws JSONException {

        JSONObject returnVal = super.toJsonObject();

        //SQL Columns...
        if(this.getSqlColumns() != null)
        {
            JSONArray jsonArray = new JSONArray();

            for(SQLColumn toAdd : this.getSqlColumns())
            {
                jsonArray.put(toAdd.toJsonObject());
            }

            returnVal.put(JSONMapping.SQL_COLUMNS, jsonArray);
        }
        
        return returnVal;
    }
@ Override public JSONObject toJsonObject ( ) throws JSONException { JSONObject returnVal = super . toJsonObject ( ) ; //SQL Columns... if ( this . getSqlColumns ( ) != null ) { JSONArray jsonArray = new JSONArray ( ) ; for ( SQLColumn toAdd : this . getSqlColumns ( ) ) { jsonArray . put ( toAdd . toJsonObject ( ) ) ; } returnVal . put ( JSONMapping . SQL_COLUMNS , jsonArray ) ; } return returnVal ; }
Conversion to {@code JSONObject} from Java Object.

@return {@code JSONObject} representation of {@code UserQuery}
@throws JSONException If there is a problem with the JSON Body.

@see ABaseFluidJSONObject#toJsonObject()
Conversion to { @code JSONObject } from Java Object .