* Default constructor.
*/
public JSONJacksonSerializer() {
super(FormatType.JSON);
JsonFactory jsonFactory = new JsonFactory();
jsonFactory.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE);
jsonFactory.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET);
_objectMapper = new ObjectMapper(jsonFactory);
_objectMapper.enableDefaultTyping();
_objectMapper.disable(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS);
}