Serializer.java 296 Bytes
Newer Older
1
2
3
package emu.grasscutter.scripts.serializer;

import java.util.List;
akatatsu27's avatar
akatatsu27 committed
4
import java.util.Map;
5
6
7


public interface Serializer {
akatatsu27's avatar
akatatsu27 committed
8

9
	public <T> List<T> toList(Class<T> type, Object obj);
akatatsu27's avatar
akatatsu27 committed
10

11
	public <T> T toObject(Class<T> type, Object obj);
akatatsu27's avatar
akatatsu27 committed
12
13

    public <T> Map<String,T> toMap(Class<T> type, Object obj);
14
}