如何在 React Native FlatList 中访问数组中的嵌套对象

How to access nested objects in an array in react native flatlist

请问我如何访问嵌套数组中 _embedded 内的 date 的值,如下所示:

[{"id":970,

"title":"Mojekwu v Mojekwu: Facts, Issues & Decision of Court",

"url":"https:\/\/bscholarly.com\/mojekwu-v-mojekwu\/",

"type":"post","subtype":"post",

"_links":{"self":[{"embeddable":true,"href":"https:\/\/bscholarly.com\/wp-json\/wp\/v2\/posts\/970"}],

"about":[{"href":"https:\/\/bscholarly.com\/wp-json\/wp\/v2\/types\/post"}],

"collection":[{"href":"https:\/\/bscholarly.com\/wp-json\/wp\/v2\/search"}]},

"_embedded":{"self":[{"id":970,"date":"2020-08-01T08:55:39","slug":"mojekwu-v-mojekwu",

"type":"post","link":"https:\/\/bscholarly.com\/mojekwu-v-mojekwu\/",

"title":{"rendered":"Mojekwu v Mojekwu: Facts, Issues & Decision of Court"},
]

我正在使用平面列表来显示它们。我试过 item._embedded.date 但那对我不起作用。

请帮帮我。

This 是 API link.

试试这个

_embedded.self[0].date