Package com.github.mrcritical.ironcache.internal.serializers

Examples of com.github.mrcritical.ironcache.internal.serializers.JodaDateTimeSerializer


   * @param json
   *            is the {@link ObjectMapper} to augment
   */
  protected static ObjectMapper configure(final ObjectMapper json) {
    final SimpleModule jodaModule = new SimpleModule("Joda");
    jodaModule.addSerializer(new JodaDateTimeSerializer());
    jodaModule.addDeserializer(DateTime.class, new JodaDateTimeDeserializer());
    json.registerModule(jodaModule);

    // Increase performance even more
    json.registerModule(new AfterburnerModule());
View Full Code Here

TOP

Related Classes of com.github.mrcritical.ironcache.internal.serializers.JodaDateTimeSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.