Created
March 12, 2019 18:05
-
-
Save evonsdesigns/10e7e53b1ce561e64253baa5bf68a15f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testPojoMapper() { | |
PojoMapper pojoMapper = new PojoMapper(); | |
ObjectMapper objectMapper = pojoMapper.getMapper(); | |
assertTrue( | |
objectMapper.getDeserializationConfig().isEnabled( | |
MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES | |
) | |
); | |
assertTrue( | |
objectMapper.getDeserializationConfig().isEnabled( | |
JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES, | |
objectMapper.getFactory() | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment