.getObject()) {
DataSourceSettings settings = DataSourceAnnotationReader
.getSettings(curDataSource);
conversions.add(settings.conversion());
htmlClasses.add(settings.htmlClass());
units.add(settings.unit());
}
ObjectMapper mapper = new ObjectMapper();
try {
options.put("conversion", mapper.writeValueAsString(conversions));
options.put("htmlClasses", mapper.writeValueAsString(htmlClasses));