agave-common/common-api/src/main/java/org/iplantc/service/common/quartz/util/QuartzUtility.java
/**
     * wraps mapper.writeValueAsString to handle checked exception IOException.
     *
     * @param object object to JSONize.
     * @return JSON representation for {@code object}.
     */
wraps mapper.writeValueAsString to handle checked exception IOException.
@param object object to JSONize.
@return JSON representation for  object.
wraps mapper . writeValueAsString to handle checked exception IOException . @param object object to JSONize . @return JSON representation for object .
private String toJSON(Object object) {
        try {
        	mapper.registerModule(new JodaModule());
            return mapper.writeValueAsString(object);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
private String toJSON ( Object object ) { try { mapper . registerModule ( new JodaModule ( ) ) ; return mapper . writeValueAsString ( object ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
wraps mapper.writeValueAsString to handle checked exception IOException.
wraps mapper . writeValueAsString to handle checked exception IOException .