Jackson Glossary: ObjectMapper

Role

This is the default implementation of Module interface (see JacksonFeatureModules for more detailed description) that adds simple registration methods to cover most commonly needed operations.

Usage

   1   Version version = new Version(1, 0, 0, "SNAPSHOT"); // maven/OSGi style version
   2   SimpleModule module = new SimpleModule("MyModuleName", version);
   3   module = module.addSerializer(new MyTypeSerializer());
   4   // and so on...
   5   objectMapper.registerModule(module);


Back to Jackson Term Glossary


CategoryJackson

SimpleModule (last edited 2011-02-19 18:58:51 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC