1 package org.oxerr.okcoin.websocket.dto; 2 3 import javax.json.JsonObject; 4 import javax.json.JsonValue; 5 6 public class Info extends org.oxerr.okcoin.rest.dto.Info { 7 8 private static final long serialVersionUID = 2015030701L; 9 10 public Info(JsonValue jsonValue) { 11 this((JsonObject) jsonValue); 12 } 13 14 public Info(JsonObject jsonObject) { 15 super(new Funds(jsonObject.getJsonObject("info").getJsonObject("funds"))); 16 } 17 18 }