ipo
zyy
2026-01-07 f5f4c3a813b283d6a3bfdfcfae4498b1b3bb60f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.yami.trading.huobi.websocket.service.huobi.parser.account;
 
import java.util.List;
 
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
 
import com.yami.trading.huobi.websocket.model.crossmargin.GeneralRepayLoanResult;
import com.yami.trading.huobi.websocket.service.huobi.parser.HuobiModelParser;
 
public class GeneralRepayLoanResultParser implements HuobiModelParser<GeneralRepayLoanResult> {
    @Override
    public GeneralRepayLoanResult parse(JSONObject json) {
        return json.toJavaObject(GeneralRepayLoanResult.class);
    }
 
    @Override
    public GeneralRepayLoanResult parse(JSONArray json) {
        return null;
    }
 
    @Override
    public List<GeneralRepayLoanResult> parseArray(JSONArray jsonArray) {
        return jsonArray.toJavaList(GeneralRepayLoanResult.class);
    }
}