Package com.fasterxml.jackson.databind.ser.std

Examples of com.fasterxml.jackson.databind.ser.std.ToStringSerializer


        this.converterFactory = converterFactory;
        this.objectMapper = objectMapper;
        this.classLoader = classLoader == null ? getClass().getClassLoader() : classLoader;
        this.objectMapper.registerModule(
                new SimpleModule("Axon-Jackson Module")
                        .addSerializer(ReadableInstant.class, new ToStringSerializer())
                        .addDeserializer(DateTime.class, new JodaDeserializer<DateTime>(DateTime.class))
                        .addDeserializer(Instant.class, new JodaDeserializer<Instant>(Instant.class))
                        .addDeserializer(MutableDateTime.class,
                                         new JodaDeserializer<MutableDateTime>(MutableDateTime.class))
                        .addDeserializer(YearMonth.class, new JodaDeserializer<YearMonth>(YearMonth.class))
View Full Code Here

TOP

Related Classes of com.fasterxml.jackson.databind.ser.std.ToStringSerializer

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.