aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/mbgui/MBDeserializer.java
blob: 8f7d1bc0676df0b23a6c59cf3f1a398e20910b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);*/
    }

}