String function ( Object arg0 ) { ObjectMapper loc0 = new ObjectMapper ( ) ; loc0 . getJsonFactory ( ) . setCharacterEscapes ( new OpenmrsCharacterEscapes ( ) ) ; try { return loc0 . writeValueAsString ( arg0 ) ; } catch ( IOException loc1 ) { log . error ( "srini_string" ) ; throw new APIException ( loc1 ) ; } }
convenience method to convert the given object to a json string . supports maps , lists , strings , boolean , double concode_field_sep VelocityEngine velocityEngine concode_elem_sep Map<String,Object[]> msgs concode_elem_sep ToolContext toolContext concode_elem_sep Log log concode_elem_sep String AUTO_RUN_OPENMRS concode_elem_sep FilterConfig filterConfig concode_elem_sep Map<String,Object[]> errors concode_field_sep void init concode_elem_sep void initializeVelocity concode_elem_sep Object getModel concode_elem_sep void doFilter concode_elem_sep void renderTemplate concode_elem_sep void destroy concode_elem_sep String getTemplatePrefix concode_elem_sep ToolContext getToolContext concode_elem_sep boolean skipFilter concode_elem_sep void doPost concode_elem_sep void doGet