我的文件格式为以下格式:
Name1:Pw1
Name2:Pw2
...
我想转换成这种格式:
{
"AuthType": "ptc",
"GoogleUsername": "null",
"GooglePassword": "null",
"PtcUsername": "",
"PtcPassword": ""
}
name1
应填入PtcUsername
和Pw1
PtcPassword
,依此类推!
答案 0 :(得分:1)
作为起点,试试
public abstract class Pesti {
public abstract void ud();
public abstract void inn();
}