Thanks Hernan, Sven said the same in private mail. Thanks both. 2010/7/5 Hernán Morales Durand <hernan.morales@gmail.com>
Germán, Seaside 3 includes the JSJsonParser
Hernán
2010/7/4 Germán Arduino <garduino@gmail.com>:
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.
2010/6/28 Sven Van Caekenberghe <sven@beta9.be>
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
-- ================================================= Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================
_______________________________________________ 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
-- ================================================= Germán S. Arduino <gsa @ arsol.net> Twitter: garduino Arduino Software & Web Hosting http://www.arduinosoftware.com PasswordsPro http://www.passwordspro.com =================================================