Adding the de-serializer of the BaseOperation class to the Gson instance used to handle the notification message
This commit is contained in:
parent
6abd71252e
commit
39048b1096
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ import java.util.List;
|
|||
|
||||
import cy.agorise.graphenej.Asset;
|
||||
import cy.agorise.graphenej.AssetAmount;
|
||||
import cy.agorise.graphenej.BaseOperation;
|
||||
import cy.agorise.graphenej.LimitOrder;
|
||||
import cy.agorise.graphenej.RPC;
|
||||
import cy.agorise.graphenej.Transaction;
|
||||
|
@ -116,6 +117,7 @@ public class NetworkService extends Service {
|
|||
.registerTypeAdapter(UserAccount.class, new UserAccount.UserAccountSimpleDeserializer())
|
||||
.registerTypeAdapter(DynamicGlobalProperties.class, new DynamicGlobalProperties.DynamicGlobalPropertiesDeserializer())
|
||||
.registerTypeAdapter(Memo.class, new Memo.MemoDeserializer())
|
||||
.registerTypeAdapter(BaseOperation.class, new BaseOperation.OperationDeserializer())
|
||||
.registerTypeAdapter(OperationHistory.class, new OperationHistory.OperationHistoryDeserializer())
|
||||
.registerTypeAdapter(JsonRpcNotification.class, new JsonRpcNotification.JsonRpcNotificationDeserializer())
|
||||
.create();
|
||||
|
|
Loading…
Reference in a new issue