Hi everybody,
I'm developing a software content management in Pharo 1.3. I want to send objects from client to the server (SeaSide) using REST services. I need to serialize objects with JSON and deserialize JSON to get the object.
I saw in SeaSide Javascript-core-JSON package but it depends on Javascript and I only need JSON. Anyone know how I can use JSON in Pharo and SeaSide to serialize and deserealize objects?
Ezequiel Lamónica
_______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
eze
|
Hi Ezequiel,
There are a few other packages on SqueakSource that deal with JSON and that do not depend on Seaside. http://www.squeaksource.com/JSON.html http://source.lukas-renggli.ch/petit.html (PetitJson) As far as I know these do not deal with serializing arbitrary objects though, but I guess you can reasonably easy write some code that does that on top of one of these libraries. Philippe wrote a Magritte extension that serializes and deserializes objects to JSON (and XML) using to their descriptions: http://source.lukas-renggli.ch/magritteaddons (Magritte-Json) Lukas On 15 November 2011 15:27, Ezequiel Lamonica <[hidden email]> wrote: > Hi everybody, > I'm developing a software content management in Pharo 1.3. > I want to send objects from client to the server (SeaSide) using REST > services. > I need to serialize objects with JSON and deserialize JSON to get the > object. > I saw in SeaSide Javascript-core-JSON package but it depends on Javascript > and I only need JSON. > > Anyone know how I can use JSON in Pharo and SeaSide to serialize and > deserealize objects? > Ezequiel Lamónica > _______________________________________________ > seaside-dev mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev > > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
In reply to this post by ezequiel lamonica
2011/11/15 Ezequiel Lamonica <[hidden email]>:
> Hi everybody, > I'm developing a software content management in Pharo 1.3. > I want to send objects from client to the server (SeaSide) using REST > services. > I need to serialize objects with JSON and deserialize JSON to get the > object. > I saw in SeaSide Javascript-core-JSON package but it depends on Javascript > and I only need JSON. > > Anyone know how I can use JSON in Pharo and SeaSide to serialize and > deserealize objects? Besides the mentioned Magritte-JSON there's also Seaside-JSON-Core which contains canvas for rendering JSON. Cheers Philippe Cheers Philippe _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev |
Thanks! I'll try with this.
2011/11/19 Philippe Marschall <[hidden email]> 2011/11/15 Ezequiel Lamonica <[hidden email]>: _______________________________________________ seaside-dev mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
eze
|
Free forum by Nabble | Edit this page |