Class JacksonJsonMapper

java.lang.Object
ai.mindconnect.workflow.jackson.JacksonJsonMapper
All Implemented Interfaces:
JsonMapper

public class JacksonJsonMapper extends Object implements JsonMapper
JsonMapper implementation backed by Jackson's ObjectMapper.

Use WorkflowObjectMapperFactory.create() to obtain a correctly configured mapper (with StepData polymorphism set up via mixins), then pass it to this class.

Example:


 ObjectMapper mapper = WorkflowObjectMapperFactory.create();
 JacksonJsonMapper jsonMapper = new JacksonJsonMapper(mapper);
 
  • Constructor Details

    • JacksonJsonMapper

      public JacksonJsonMapper()
  • Method Details