Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取账户资产估值—JSON返回解析有问题 #76

Open
771523908 opened this issue Apr 6, 2021 · 1 comment
Open

获取账户资产估值—JSON返回解析有问题 #76

771523908 opened this issue Apr 6, 2021 · 1 comment

Comments

@771523908
Copy link

771523908 commented Apr 6, 2021

/v2/account/asset-valuation接口

package: com.huobi.service.huobi.parser.account;

方法转换失败:
@OverRide
public AccountAssetValuationResult parse(JSONObject json) {
return json.toJavaObject(AccountAssetValuationResult.class);
}
修改后返回正常:
@OverRide
public AccountAssetValuationResult parse(JSONObject json) {
return json.getJSONObject("data").toJavaObject(AccountAssetValuationResult.class);
}

@ZJYC
Copy link

ZJYC commented May 23, 2021

great!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants