public JSONObject jsonify ( ) { JSONObject ret = new JSONObject ( ) ; ret . put ( "title" , getTitle ( ) ) ; ret . put ( "category" , getCategory ( ) ) ; ret . put ( "subcategory" , getSubCategory ( ) ) ; ret . put ( "description" , getDescription ( ) ) ; if ( null != this . _extraAttributes && ! this . _extraAttributes . isEmpty ( ) ) { ret . putAll ( this . _extraAttributes ) ; } return ret ; }
Return a JSON representation of this object