Class ObjectMapperFactory

java.lang.Object
com.mulesoft.connectors.mcp.internal.jackson.ObjectMapperFactory

public class ObjectMapperFactory extends Object
Returns the ObjectMapper to be used. We use Jackson for JSON marshaling/unmarshalling instead of DW because the anthropic SDK is strongly coupled to Jackson, so it makes sense to take the same approach in the connector (versus alternatives like DW).
Since:
0.1.0
  • Constructor Details

    • ObjectMapperFactory

      public ObjectMapperFactory()
  • Method Details

    • get

      public static com.fasterxml.jackson.databind.ObjectMapper get()