cancel
Showing results for 
Search instead for 
Did you mean: 

Custom EDI Parser snap output view not recognised by mapper snap

Ksivagurunathan
Contributor

EDI_CUSTOM_SNAPwe developed a custom snap to parse EDI 835 data on Java. puzzle is how to map Java object on mapper snap. when we add a mapper snap next to EDI parser, Input schema on mapper is blank. But when I add a copy snap in between EDI Parser custom snap and mapper, am able to see the input schema in mapper.

5 REPLIES 5

import com.fasterxml.jackson.databind.ObjectMapper;

The org.codehaus.jackson-package version is from an older version of Jackson. The com.fasterxml.jackson-package version is the right one. See java - org.codehaus.jackson versus com.fasterxml.jackson.core - Stack Overflow for more.

The implementation that is injected is SnapObjectMapper, which extends com.fasterxml.jackson.databind.ObjectMapper. It enables some Jackson serialization features by default, as well as some custom serializers for Dates/Times/DateTimes.