com.fasterxml.jackson.databind.ext

Class NioPathSerializer

    • Constructor Detail

      • NioPathSerializer

        public NioPathSerializer()
    • Method Detail

      • serialize

        public void serialize(Path value,
                     JsonGenerator gen,
                     SerializerProvider serializers)
                       throws IOException
        Description copied from class: JsonSerializer
        Method that can be called to ask implementation to serialize values of type this serializer handles.
        Specified by:
        serialize in class StdSerializer<Path>
        Parameters:
        value - Value to serialize; can not be null.
        gen - Generator used to output resulting Json content
        serializers - Provider that can be used to get serializers for serializing Objects value contains, if any.
        Throws:
        IOException

Copyright © 2008–2017 FasterXML. All rights reserved.