Added Serializable to Node and bumped version

This commit is contained in:
ChronosX88 2019-05-09 16:48:24 +04:00
parent 027da48407
commit 17dcfc9e7b
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ plugins {
} }
group 'io.github.chronosx88' group 'io.github.chronosx88'
version '0.2.0' version '0.2.1'
sourceCompatibility = 1.8 sourceCompatibility = 1.8

View File

@ -3,7 +3,9 @@ package io.github.chronosx88.JGUN;
import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph; import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph;
import org.json.JSONObject; import org.json.JSONObject;
public class Node implements Comparable<Node> { import java.io.Serializable;
public class Node implements Comparable<Node>, Serializable {
public JSONObject values; // Data public JSONObject values; // Data
public JSONObject states; // Metadata for diff public JSONObject states; // Metadata for diff
public String soul; // i.e. ID of node public String soul; // i.e. ID of node