
io.intercom.api.TopicSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of intercom-java Show documentation
Show all versions of intercom-java Show documentation
Java bindings for the Intercom API
The newest version!
package io.intercom.api;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import java.io.IOException;
class TopicSerializer extends StdSerializer {
public TopicSerializer() {
super(Subscription.Topic.class);
}
@Override
public void serialize(Subscription.Topic value, JsonGenerator jgen, SerializerProvider provider)
throws IOException {
jgen.writeObject(value.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy