public class MongoJackObjectMapperProvider extends Object implements javax.inject.Provider<com.fasterxml.jackson.databind.ObjectMapper>
Modifier and Type | Class and Description |
---|---|
static class |
MongoJackObjectMapperProvider.PreserveLeadingUnderscoreStrategy
This abomination is necessary because when using MongoJack to read "_id" object ids back from the database
the property name isn't correctly mapped to the POJO using the LowerCaseWithUnderscoresStrategy.
|
Constructor and Description |
---|
MongoJackObjectMapperProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.