com.transferwise.common.baseutils.jackson.JsonConverter Maven / Gradle / Ivy
package com.transferwise.common.baseutils.jackson;
import com.fasterxml.jackson.core.type.TypeReference;
import java.util.List;
public interface JsonConverter {
T toObject(String json, Class clazz);
T toObject(byte[] json, Class clazz);
String fromObject(Object o);
byte[] fromObjectToBytes(Object o);
List toList(String json, TypeReference> typeRef);
List toList(byte[] json, TypeReference> typeRef);
}