Class SetJsonWriter<T>

java.lang.Object
ru.tinkoff.kora.json.common.SetJsonWriter<T>
All Implemented Interfaces:
JsonWriter<Set<T>>

public class SetJsonWriter<T> extends Object implements JsonWriter<Set<T>>
  • Constructor Details

    • SetJsonWriter

      public SetJsonWriter(JsonWriter<T> writer)
  • Method Details

    • write

      public void write(com.fasterxml.jackson.core.JsonGenerator gen, @Nullable Set<T> object) throws IOException
      Specified by:
      write in interface JsonWriter<T>
      Parameters:
      gen - jackson generator that will be used for writing object to JSON
      object - to serialize into JSON
      Throws:
      IOException - in case of serialization errors