From 67f3e05b5c1f08ca8832d4d8f665d44b58dcd3b9 Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Mon, 26 Jun 2017 14:05:33 -0500 Subject: [PATCH] Added the @Expose annotation to the GrapheneObject#id field --- .../java/de/bitsharesmunich/graphenej/GrapheneObject.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/GrapheneObject.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/GrapheneObject.java index 88f20a4..aaee8b5 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/GrapheneObject.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/GrapheneObject.java @@ -1,5 +1,7 @@ package de.bitsharesmunich.graphenej; +import com.google.gson.annotations.Expose; + /** *

* Generic class used to represent a graphene object as defined in @@ -13,7 +15,9 @@ public class GrapheneObject { public static final int PROTOCOL_SPACE = 1; public static final int IMPLEMENTATION_SPACE = 2; + @Expose protected String id; + protected int space; protected int type; protected long instance;