Hi Sven:
Which JSON are you using?
The package I know from Squeaksource (http://www.squeaksource.com/JSON.html) doesn't includes the class JSJsonParser.
Cheers.
Germ�n.
And REST+JSON is easy to do with what is available in Pharo/Seaside/WebClient:
client := WebClient new.
client authCredentialsBlock: [:client :realm :fail |
� � � �client username: '680'; password: ((MD5 new hashMessage: 'secret') hex) ].
response := client httpGet: 'http://api.t3-platform.net:9000/users/680'.
JSJsonParser parse: response content.
Sven
PS: Only HTTPS is missing ;-)
On 28 Jun 2010, at 13:35, St�phane Ducasse wrote:
> Thanks.
> May be german should have a look at this solution instead of XML-RCP.
>
> Stef
>
>>> My impression is that people either moved from XML-RCP to SOAP or
>>> abandoned the idea and went to REST. I don't know anybody who considers
>>> it for new projects.
>>>
>>
>> As Philippe stated, many projects are moving to REST.
>> REST/JSON webservices are getting all the hype these days...
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project