All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy