JSON编码数据Getinto foreach

时间:2018-09-14 15:04:18

标签: php json encode jsonencoder

如何获取foreach贝洛斯json_encode数据。我正在寻找将这些数据导入foreach,然后保存到mysql中。

[
{
"trends":[
{
name:"#PondyWelcomesTHALAPATHY",
url:"http:\/\/twitter.com\/search?q=%23PondyWelcomesTHALAPATHY",
promoted_content:null,
query:"%23PondyWelcomesTHALAPATHY",
tweet_volume:100685
},
{
name:"#SaamySquareFromSep21",
url:"http:\/\/twitter.com\/search?q=%23SaamySquareFromSep21",
promoted_content:null,
query:"%23SaamySquareFromSep21",
tweet_volume:null
},
],
"as_of":"2018-09-14T14:19:50Z",
"created_at":"2018-09-14T14:13:53Z",
"locations":[
{
name:"Mumbai",
woeid:2295411
}
]
}
]

0 个答案:

没有答案