@Override
    public String toJSON() {
        try {
            JSONObject o = new JSONObject();
            o.put(KEY_TYPE, mType);
            o.put(KEY_TITLE, mTitle);
            o.put(KEY_MESSAGE, mMessage);
            return o.toString();
        } catch (JSONException e) {
            Log.e(TAG, "Error marshalling:", e);
            return "";
        }
    }
@Override
    public String toJSON() {
        try {
            JSONObject o = new JSONObject();
            o.put(KEY_TYPE, mType);
            o.put(KEY_TITLE, mTitle);
            o.put(KEY_MESSAGE, mMessage);
            return o.toString();
        } catch (JSONException e) {
            Log.e(TAG, "Error marshalling:", e);
            return "";
        }
    }
@ Override public String toJSON ( ) { try { JSONObject o = new JSONObject ( ) ; o . put ( KEY_TYPE , mType ) ; o . put ( KEY_TITLE , mTitle ) ; o . put ( KEY_MESSAGE , mMessage ) ; return o . toString ( ) ; } catch ( JSONException e ) { Log . e ( TAG , "Error marshalling:" , e ) ; return "" ; } }
/*
(non-Javadoc)

@see it.polimi.spf.framework.local.SPFAction#toJSON()
/ * ( non - Javadoc )