mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-21 14:02:19 +00:00
Added Serializable to Node and bumped version
This commit is contained in:
parent
027da48407
commit
17dcfc9e7b
@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'io.github.chronosx88'
|
||||
version '0.2.0'
|
||||
version '0.2.1'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
|
@ -3,7 +3,9 @@ package io.github.chronosx88.JGUN;
|
||||
import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph;
|
||||
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 states; // Metadata for diff
|
||||
public String soul; // i.e. ID of node
|
||||
|
Loading…
Reference in New Issue
Block a user