use of org.baderlab.csplugins.enrichmentmap.style.charts.json.ColorJsonDeserializer in project EnrichmentMapApp by BaderLab.
the class AbstractChart method addJsonDeserializers.
protected void addJsonDeserializers(final SimpleModule module) {
module.addDeserializer(Map.class, new PropertiesJsonDeserializer(this));
module.addDeserializer(Color.class, new ColorJsonDeserializer());
module.addDeserializer(Point2D.class, new Point2DJsonDeserializer());
module.addDeserializer(Rectangle2D.class, new Rectangle2DJsonDeserializer());
final CyColumnIdentifierFactory colIdFactory = serviceRegistrar.getService(CyColumnIdentifierFactory.class);
module.addDeserializer(CyColumnIdentifier.class, new CyColumnIdentifierJsonDeserializer(colIdFactory));
}
Aggregations