public final class JsonUtils extends Object
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
createMapper(com.fasterxml.jackson.core.JsonFactory factory,
Function<String,String> fixTag)
Create an object mapper with a custom serializer for measurements.
|
static Function<String,String> |
createReplacementFunction(String pattern)
Return a mapping function that will replace characters that are not matched by the
pattern with an underscore.
|