0

アプリが Wordpress から受け取った投稿の解析に取り組んでいます。データを取得しています。そして、私はそれを辞書に載せています。唯一の問題は、現在 7 件の投稿を受け取っていることです。以下は、サーバーから取得しているものです。

status": "ok",
"count": 7,
"count_total": 7,
"pages": 1,
"posts": [
{
  "id": 125,
  "type": "post",
  "slug": "michaela-hi",
  "url": "http:\/\/www.garytournaments.com\/2013\/06\/18\/michaela-hi\/",
  "status": "publish",
  "title": "Test Posts",
  so on and so on..till the next post
  "id": 117,
  "type": "post",
  "slug": "may-4th-tournament",
  "url": "http:\/\/www.garytournaments.com\/2013\/04\/29\/may-4th-tournament\/",
  "status": "publish",
  "title": "May 4th Tournament",
  "title_plain": "May 4th Tournament

  repeat;

私の問題は、「ID、スラッグなど」がすべて投稿の値に含まれていることです。個々のデータを抽出する方法と、データを個々の投稿に分割する方法がわかりません

4

2 に答える 2