edu.ksu.canvas.interfaces.ResponseParser Maven / Gradle / Ivy
package edu.ksu.canvas.interfaces;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import edu.ksu.canvas.net.Response;
public interface ResponseParser {
List parseToList(Type type, Response response);
Optional parseToObject(Class clazz, Response response);
Map parseToMap(Class clazz, Response response);
}