<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Introducing Regular JSON Expressions</title>
	<link>http://laurentszyster.be/blog/introducing-regular-json-expressions/</link>
	<description>Python on Peers</description>
	<pubDate>Fri, 10 Sep 2010 00:22:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.3</generator>

	<item>
		<title>by: Laurent Szyster</title>
		<link>http://laurentszyster.be/blog/introducing-regular-json-expressions/#comment-8460</link>
		<pubDate>Fri, 30 Mar 2007 17:53:25 +0000</pubDate>
		<guid>http://laurentszyster.be/blog/introducing-regular-json-expressions/#comment-8460</guid>
					<description>Hi Didier,

I'll translate:

&quot;Which container/server to use (in Java). Tomcat and an XML-RPC servlet.&quot;

Yes, something like that. 

But JSON is different than XML-RPC in the sense that it does not define a protocol for procedure call. 

JSON is the simplest way practically possible to serialize and deserialize objects for the most numerous network peers: JavaScript applications running in web browsers.

Yet nothing prevents you to apply it for RPC between HTTP peers.

Using URL's and plain old HTML forms, send:

    GET /object/method?name=world&amp;#38;... HTTP/1.0
    
Or post a JSON body:

    POST /object/method
    Content-type: application/json; charset=UTF-8
    
    {&quot;name&quot;: &quot;world&quot;
   
and expect the following response:

    HTTP/1.0 200 Ok
    Content-type: application/json; charset=UTF-8
    
    {&quot;name&quot;: &quot;world&quot;, &quot;hello&quot;: &quot;Hello World!&quot;}

Finally, the fact that JSON is a web protocol does not mean that it cannot be applied to transfer objects between other network applications than a web browser or server.</description>
		<content:encoded><![CDATA[	<p>Hi Didier,</p>
	<p>I&#8217;ll translate:</p>
	<p>&#8220;Which container/server to use (in Java). Tomcat and an XML-RPC servlet.&#8221;</p>
	<p>Yes, something like that. </p>
	<p>But JSON is different than XML-RPC in the sense that it does not define a protocol for procedure call. </p>
	<p>JSON is the simplest way practically possible to serialize and deserialize objects for the most numerous network peers: JavaScript applications running in web browsers.</p>
	<p>Yet nothing prevents you to apply it for RPC between HTTP peers.</p>
	<p>Using URL&#8217;s and plain old HTML forms, send:</p>
	<p>    GET /object/method?name=world&amp;&#8230; HTTP/1.0</p>
	<p>Or post a JSON body:</p>
	<p>    POST /object/method<br />
    Content-type: application/json; charset=UTF-8</p>
	<p>    {&#8221;name&#8221;: &#8220;world&#8221;</p>
	<p>and expect the following response:</p>
	<p>    HTTP/1.0 200 Ok<br />
    Content-type: application/json; charset=UTF-8</p>
	<p>    {&#8221;name&#8221;: &#8220;world&#8221;, &#8220;hello&#8221;: &#8220;Hello World!&#8221;}</p>
	<p>Finally, the fact that JSON is a web protocol does not mean that it cannot be applied to transfer objects between other network applications than a web browser or server.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: dCroes</title>
		<link>http://laurentszyster.be/blog/introducing-regular-json-expressions/#comment-8416</link>
		<pubDate>Fri, 30 Mar 2007 13:54:53 +0000</pubDate>
		<guid>http://laurentszyster.be/blog/introducing-regular-json-expressions/#comment-8416</guid>
					<description>Quel container/server utiliser?
tomcat comme pour XML-RPC?</description>
		<content:encoded><![CDATA[	<p>Quel container/server utiliser?<br />
tomcat comme pour XML-RPC?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
