Skip to content
Snippets Groups Projects
Commit 660833be authored by baletiballo's avatar baletiballo
Browse files

Made scrolls JSON serializable

WHY do they implement a JSONsavable Interface, only to throw 'NotImplementedException' on mandatory members they would otherwise not need?
parent f6a14de0
No related branches found
No related tags found
No related merge requests found
......@@ -305,8 +305,8 @@ public class Scroll: IJSONsavable<Scroll>
public List<MMTFact> acquiredFacts;
#region IJSONsavable<Scroll>
public string name { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
public string path { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
public string name { get => ScrollReference; set => throw new System.NotImplementedException(); }
public string path { get => null; set => throw new System.NotImplementedException(); }
Scroll IJSONsavable<Scroll>._IJPostProcess(Scroll payload)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment