Class GenreSortedSet.Serializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
    Enclosing class:
    GenreSortedSet

    public static class GenreSortedSet.Serializer
    extends com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • Constructor Summary

      Constructors 
      Constructor Description
      Serializer()  
    • Constructor Detail

      • Serializer

        public Serializer()
    • Method Detail

      • isEmpty

        public boolean isEmpty​(com.fasterxml.jackson.databind.SerializerProvider provider,
                               SortedSet<Genre> value)
        Overrides:
        isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
      • serialize

        public void serialize​(SortedSet<Genre> genres,
                              com.fasterxml.jackson.core.JsonGenerator jgen,
                              com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
                       throws IOException
        Specified by:
        serialize in class com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
        Throws:
        IOException