Skip to content

Commit 83cd348

Browse files
committed
Merge pull request #18 from deiga/patch-1
Add Custom objectMapper
2 parents 8c43113 + 910e431 commit 83cd348

File tree

1 file changed

+10
-0
lines changed
  • src/main/java/com/fasterxml/jackson/datatype/joda

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
com / fasterxml / jackson / datatype / joda;
2+
3+
import com.fasterxml.jackson.databind.ObjectMapper;
4+
import com.fasterxml.jackson.datatype.joda.JodaModule;
5+
6+
public class JodaMapper extends ObjectMapper {
7+
public JodaMapper() {
8+
registerModule(new JodaModule());
9+
}
10+
}

0 commit comments

Comments
 (0)