public class JsonRenderer extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
DEFAULT_MAPPER
The default mapper can be used to bypass the serializers registered in the
WickedChartsJacksonModule. |
| Constructor and Description |
|---|
JsonRenderer() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addSerializer(Class<T> clazz,
com.fasterxml.jackson.databind.JsonSerializer<T> serializer)
This method gives the opportunity to add a custom serializer to serializer
one of the highchart option classes.
|
String |
toJson(Object object) |
public static final com.fasterxml.jackson.databind.ObjectMapper DEFAULT_MAPPER
WickedChartsJacksonModule.public <T> void addSerializer(Class<T> clazz, com.fasterxml.jackson.databind.JsonSerializer<T> serializer)
clazz - the option classserializer - the serializer responsible for serializing objects of the option
class.Copyright © 2013. All Rights Reserved.