<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged json</title>
<link>https://www.question2answer.org/qa/tag/json</link>
<description>Powered by Question2Answer</description>
<item>
<title>xml 2 json using qa-feed.php</title>
<link>https://www.question2answer.org/qa/57966/xml-2-json-using-qa-feed-php</link>
<description>Recently I am thinking to output json file to my app which is using the q2a. I found there is a file named qa-feed.php, which will output xml files.&lt;br /&gt;
&lt;br /&gt;
Is there a way to adapt the qa-feed.php file to output json format?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/57966/xml-2-json-using-qa-feed-php</guid>
<pubDate>Wed, 31 May 2017 20:16:50 +0000</pubDate>
</item>
<item>
<title>Need a json-rpc plugin</title>
<link>https://www.question2answer.org/qa/42281/need-a-json-rpc-plugin</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
We are integrating Q2A into our mobile app, but we need a rpc plugin for it.&lt;br /&gt;
&lt;br /&gt;
We've tried with this xml-rpc plugin (&lt;a href=&quot;http://www.question2answer.org/qa/24034/new-plugin-xml-rpc-server-and-android-app&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/24034/new-plugin-xml-rpc-server-and-android-app&lt;/a&gt;) and this json-rpc plugin (&lt;a href=&quot;http://www.question2answer.org/qa/32740/is-there-any-rest-or-soap-api-is-available?show=35505#a35505),&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/32740/is-there-any-rest-or-soap-api-is-available?show=35505#a35505),&lt;/a&gt; but seems none of them works now.&lt;br /&gt;
&lt;br /&gt;
Is there any one who can write a json-rpc plugin for Q2A with major features implemented? We can pay for it.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/42281/need-a-json-rpc-plugin</guid>
<pubDate>Wed, 17 Dec 2014 07:04:58 +0000</pubDate>
</item>
<item>
<title>How to execute a Json call inside the plugin</title>
<link>https://www.question2answer.org/qa/32729/how-to-execute-a-json-call-inside-the-plugin</link>
<description>

&lt;p&gt;
	//The following call returns either 1 or true. It supposed to return a array of arrays. The data returns if the url below&amp;nbsp;&amp;nbsp;is posted&amp;nbsp;directly in&amp;nbsp;the browser.&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; $url=&quot;&lt;a href=&quot;http://lnyce6wq.nyc-p02.chp.bankofamerica.com:8080/glue/restservice?contenttype=related&amp;amp;question=repo&quot; rel=&quot;nofollow&quot;&gt;http://lnyce6wq.nyc-p02.chp.bankofamerica.com:8080/glue/restservice?contenttype=related&amp;amp;question=repo&lt;/a&gt;&quot;;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; $ch = curl_init($url);&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; $result = curl_exec($ch);&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; $arr = json_decode($result);&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;foreach($arr as $key=&amp;gt; $value){&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_log(&quot;VALUES: $value\n&quot;, 3, &quot;/var/www/html/q2a/log/glue-debug3.log&quot;);&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( $key == &quot;items&quot; ){&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_log(&quot;VALUES: $value\n&quot;, 3, &quot;/var/www/html/q2a/log/glue-debug3.log&quot;);&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print_r($val);&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp; }&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/32729/how-to-execute-a-json-call-inside-the-plugin</guid>
<pubDate>Wed, 12 Mar 2014 03:10:51 +0000</pubDate>
</item>
<item>
<title>is there a webservice to call for you Q&amp;A site</title>
<link>https://www.question2answer.org/qa/7411/is-there-a-webservice-to-call-for-you-q%26a-site</link>
<description>I would like to create an iphone app to my Q&amp;amp;A site is there a json webservice i can clal to create questions?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/7411/is-there-a-webservice-to-call-for-you-q%26a-site</guid>
<pubDate>Wed, 29 Jun 2011 19:07:29 +0000</pubDate>
</item>
</channel>
</rss>