public static String successfulJson ( Object data ) { ReturnData returnData = new ReturnData ( ) ; returnData . setSuccess ( true ) ; returnData . setErrorCode ( 200 ) ; returnData . setData ( data ) ; return JSON . toJSONString ( returnData ) ; }
Business is successful .