最近フォーラムを開発したいので、投稿に連絡することになります (毎回 20 件が更新される場合)。その後、複数の JSON データのセットを返さなければならないため、問題が発生しました。
次の情報を取得しました:
{"list":[{"username":"\u661f\u51cc\u793e\u533a","img":"[28.jpg , 29.jpg,30.jpg]","title":"\u3010\u7f6e\u9876\u3011XL Html\u5f00\u53d1\u5c5e\u4e8e\u81ea\u5df1\u7684\u7f51\u7ad9\u6216APP","date" : "2021-01-01 00:00:00","jing":"1","tid":"87","plnumber":"13"},{"ユーザー名":"\u81f4\u8f9e. " ,"img":"[]","title":"\u8fd9\u662f\u6807\u9898\u3002","date":"2020-07-19 23:42:37","jing":" 0 ","tid":"725","plnumber":"0"},{"ユーザー名":"\u81f4\u8f9e.","img":"[]","タイトル":"xbxh", "日付":"2020-07-19 23:19:22","jing":"0","tid":"724","plnumber":"0"},{"ユーザー名":"\u81f4 \ u8f9e.","img":"[199.png,200.png,201.png]","title":"ふう","date":"2020-07-19 23:13:37", " jing":"0","tid":"723","plnumber":"0"},{"username":"\u81f4\u8f9e.","img":"[,,]"," title ":"gjhfududyd","date":"2020-07-16 09:51:16","jing":"0","tid":"722","plnumber":"0"},{ "ユーザー名":"\u81f4\u8f9e.","img":"[196.png,197.png]","タイトル":"xgj","日付":"2020-07-16 09:43:16 ","jing":"0","tid":"721","plnumber":"0"},{"ユーザー名":"\u7528\u6237424112","img":"[]"," タイトル":"\u725b\u903c\u80cc","date":"2020-07-08 20:19:40","jing":"0","tid":"720","plnumber":" 0 "},{"ユーザー名":"\u7528\u6237424112","img":"[192.txt]","タイトル":"\u554a","日付":"2020-07-08 20:16 : 30","jing":"0","tid":"719","plnumber":"0"},{"ユーザー名":"\u7528\u6237424112","img":"[]", " title":"\u592a\u68d2\u4e86","date":"2020-07-08 20:15:28","jing":"0","tid":"718","plnumber": " 0"}]}
#同時に、この形式でデータを返してほしいとも考えています。
情報のクエリを通じて、json_encode() だけを学びましたが、これでは要件を満たすことができません。
Baidu を続けるのは理解できないか、効果がありません。