Class BroadcasterListToJson

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Iterable<T>>
nl.vpro.domain.bind.AbstractJsonIterable.Serializer<Broadcaster>
nl.vpro.domain.media.bind.BroadcasterListToJson
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class BroadcasterListToJson extends nl.vpro.domain.bind.AbstractJsonIterable.Serializer<Broadcaster>
Used to let the broadcaster list in the MediaObject json be just an array of strings (see MSE-1267)
Author:
Michiel Meeuwissen
  • Nested Class Summary

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

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

    Fields inherited from class nl.vpro.domain.bind.AbstractJsonIterable.Serializer

    considerJsonInclude
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    serializeValue(Broadcaster value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
     

    Methods inherited from class nl.vpro.domain.bind.AbstractJsonIterable.Serializer

    isEmpty, serialize

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BroadcasterListToJson

      public BroadcasterListToJson()
  • Method Details

    • serializeValue

      protected void serializeValue(Broadcaster value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
      Specified by:
      serializeValue in class nl.vpro.domain.bind.AbstractJsonIterable.Serializer<Broadcaster>
      Throws:
      IOException