public abstract class ObjectMapperFeature extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configure(ObjectMapper mapper,
Enum<?> feature,
boolean value)
Static method to configure an
ObjectMapper feature. |
public static void configure(ObjectMapper mapper, Enum<?> feature, boolean value)
ObjectMapper
feature.mapper
- The ObjectMapper
to configure.feature
- The feature Enum
.value
- The Boolean
value.IllegalArgumentException
- If the feature Enum
is not
recognized.Copyright © 2015–2020 Allen D. Ball. All rights reserved.