com.firefly.utils.json.serializer.ShortSerializer Maven / Gradle / Ivy
package com.firefly.utils.json.serializer;
import com.firefly.utils.json.JsonWriter;
import com.firefly.utils.json.Serializer;
public class ShortSerializer implements Serializer {
@Override
public void convertTo(JsonWriter writer, Object obj) {
writer.writeShort((Short)obj);
}
}