次のjson形式のファイルが見つかりました。改造を解析することは可能ですか?一般的にjsonは各セクションのキーと値を持っていますが、ここでは1つのキーにはキーがあり、他の配列には値があります。どのように解析するのですか?Android jsonでRetrofitライブラリを解析する
{
"insertnewdatas": {
"columns": [
"id",
"operatorName",
"latitude",
"longitude",
"location",
"address",
"currencies",
"exchange",
"exchangeLimits",
"workingDays",
"link",
"phone",
"email",
"dateTime",
"created_at",
"updated_at"
],
"records": [
[
3,
"Coin Source",
"22.3475",
"91.8123",
"Chittagong",
"Oxygen , Chittagong",
"Cash",
"option2",
"$500/month",
"30",
"no link",
"017000000000",
"[email protected]",
"21-10-2017",
"2017-03-01 17:40:42",
"2017-03-01 17:40:42"
],
[
4,
"Coin Source",
"22.3475",
"91.8123",
"Chittagong",
"Oxygen , Chittagong",
"Cash",
"option2",
"$500/month",
"30",
"no link",
"017000000000",
"[email protected]",
"21-10-2017",
"2017-03-01 17:40:49",
"2017-03-01 17:40:49"
],
[
5,
"Bit Coin",
"22.3575",
"91.8323",
"Chittagong",
"Chittagong",
"both",
"option1",
"$500/month",
"30",
"no link",
"017000000000",
"[email protected]",
"21-10-2017",
"2017-03-01 17:43:34",
"2017-03-01 17:43:34"
]
]
}
}
これはかなり悪いフォーマットです。 – njzk2