aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/mbgui/MBDeserializer.java
blob: b9e858ef816e7939170e7b00b40ba920d41306ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package io.github.moulberry.notenoughupdates.mbgui;

import com.google.gson.JsonObject;

import java.io.IOException;

public class MBDeserializer {
	public static MBGuiElement deserialize(JsonObject json) {
		return null;
	}

	public static void serializeAndSave(MBGuiElement element, String filename) throws IOException {
        /*JsonObject json = element.serialize();

        File file = new File(NotEnoughUpdates.INSTANCE.manager.configLocation, filename+".json");
        NotEnoughUpdates.INSTANCE.manager.writeJson(json, file);*/
	}
}