public class ChartJsObjectMapperFactory extends Object
| Constructor and Description |
|---|
ChartJsObjectMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
createObjectMapper(boolean indentOutput)
Returns an
ObjectMapper configured with the right modules and settings to give the
correct output for a chartjs config. |
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(boolean indentOutput)
ObjectMapper configured with the right modules and settings to give the
correct output for a chartjs config.indentOutput - Whether or not to indent output (pretty print). Indenting is useful when you want
to show the output to humans but has no value for chartjs itself.Copyright © 2018. All rights reserved.