public Jackson2ExecutionContextStringSerializer() { this.objectMapper = new ObjectMapper(); this.objectMapper.configure(MapperFeature.DEFAULT_VIEW_INCLUSION, false); this.objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); this.objectMapper.enableDefaultTyping(); this.objectMapper.registerModule(new JobParametersModule()); }
private JobParametersModule() { super("Job parameters module"); setMixInAnnotation(JobParameters.class, JobParametersMixIn.class); addDeserializer(JobParameter.class, new JobParameterDeserializer()); }
public Jackson2ExecutionContextStringSerializer() { this.objectMapper = new ObjectMapper(); this.objectMapper.configure(MapperFeature.DEFAULT_VIEW_INCLUSION, false); this.objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); this.objectMapper.enableDefaultTyping(); this.objectMapper.registerModule(new JobParametersModule()); }
private JobParametersModule() { super("Job parameters module"); setMixInAnnotation(JobParameters.class, JobParametersMixIn.class); addDeserializer(JobParameter.class, new JobParameterDeserializer()); }
public Jackson2ExecutionContextStringSerializer() { this.objectMapper = new ObjectMapper(); this.objectMapper.configure(MapperFeature.DEFAULT_VIEW_INCLUSION, false); this.objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true); this.objectMapper.enableDefaultTyping(); this.objectMapper.registerModule(new JobParametersModule()); }
private JobParametersModule() { super("Job parameters module"); setMixInAnnotation(JobParameters.class, JobParametersMixIn.class); addDeserializer(JobParameter.class, new JobParameterDeserializer()); }