com.firefly.utils.json.serializer.StringArraySerializer Maven / Gradle / Ivy
package com.firefly.utils.json.serializer;
import java.io.IOException;
import com.firefly.utils.json.JsonWriter;
import com.firefly.utils.json.Serializer;
public class StringArraySerializer implements Serializer {
@Override
public void convertTo(JsonWriter writer, Object obj) throws IOException {
String[] object = (String[])obj;
writer.writeStringArray(object);
}
}