Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/13.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
wordpress的Json API过滤数据_Json_Wordpress_Api - Fatal编程技术网

wordpress的Json API过滤数据

wordpress的Json API过滤数据,json,wordpress,api,Json,Wordpress,Api,我在前端使用android应用程序,在后端使用word press数据库,并使用json api在数据库中检索和保存数据。我的问题是我不想要json api提供的数据,因为它提供了大量我不想要的数据,我想过滤json api提供的数据。请有人帮我解决这个问题 您是否使用插件生成JSON API?我想扩展JSON API,以便它能够以某种过滤方式提供数据。例如,在?JSON=get_post&post_id=1的情况下,来自JSON格式数据库的数据太多,我想过滤掉这些数据,以便获得最少的数据,而不

我在前端使用android应用程序,在后端使用word press数据库,并使用json api在数据库中检索和保存数据。我的问题是我不想要json api提供的数据,因为它提供了大量我不想要的数据,我想过滤json api提供的数据。请有人帮我解决这个问题

您是否使用插件生成JSON API?我想扩展JSON API,以便它能够以某种过滤方式提供数据。例如,在?JSON=get_post&post_id=1的情况下,来自JSON格式数据库的数据太多,我想过滤掉这些数据,以便获得最少的数据,而不是全部数据。