Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 如何在react native flatlist中访问数组中的嵌套对象_Reactjs_Wordpress_React Native_Api_React Native Flatlist - Fatal编程技术网

Reactjs 如何在react native flatlist中访问数组中的嵌套对象

Reactjs 如何在react native flatlist中访问数组中的嵌套对象,reactjs,wordpress,react-native,api,react-native-flatlist,Reactjs,Wordpress,React Native,Api,React Native Flatlist,请如何访问嵌套数组中嵌入的中的日期的值,如下所示: [{"id":970, "title":"Mojekwu v Mojekwu: Facts, Issues & Decision of Court", "url":"https:\/\/bscholarly.com\/mojekwu-v-mojekwu\/", "type":"post&quo

请如何访问嵌套数组中嵌入的
中的
日期
的值,如下所示:

[{"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.\u embedded.date
,但那对我不起作用

请帮帮我

是API链接。

试试这个

_embedded.self[0].date