0
私の要件は、すべての選択された列を取得し、Json Stringとしてデータベースに保存して、再びそれらをオブジェクトのリストに変換してUIに戻す必要があります My Jsonはこのように見えます。どのように私はこれを行うことができますか?私を提案してください。マッパーを使用して複数の参照単位を持つJSON文字列からオブジェクトのリストを取得する方法はありますか?
{
"dimensions": [{
"displayName": "Advertised Products",
"name": "Product",
"selectable": false,
"multipleSelect": true,
"hasFavorites": true,
"showCancel": false,
"showClear": false,
"hasCustomObjects": true,
"isPrimary": true,
"searchable": true,
"editable": true
}, {
"displayName": "Companion Products",
"name": "Product",
"selectable": false,
"multipleSelect": true,
"hasFavorites": true,
"showCancel": false,
"showClear": false,
"hasCustomObjects": true,
"isPrimary": true,
"searchable": true,
"editable": true
}, {
"displayName": "Fsp Products",
"name": "Product",
"selectable": false,
"multipleSelect": true,
"hasFavorites": true,
"showCancel": false,
"showClear": false,
"hasCustomObjects": true,
"isPrimary": true,
"searchable": true,
"editable": true
}]
}
データをデータベースに保存する方法がわかりません。 – xFighter