class ZMSFileChangeLogStoreCommon {

    byte[] jsonValueAsBytes(Object obj, Class<?> cls) {
        try {
            return jsonMapper.writerWithView(cls).writeValueAsBytes(obj);
        } catch (Exception ex) {
            LOGGER.error("Unable to serialize json object: {}", ex.getMessage());
            return null;
        }
    }

    public  ZMSFileChangeLogStoreCommon(final String rootDirectory);

}