[squeak-dev] JSon Encoders
Paul DeBruicker
pdebruic at gmail.com
Fri Aug 11 20:31:50 UTC 2017
I don't think there's anything that meets all your criteria.
Common framework:
http://www.squeaksource.com/JSON.html
But its not a callback parser where you can edit things as they are parsed.
Parser that allows pre/post editing but doesn't work on Squeak AFAIK (but
likely easily ported):
the NeoJSON project in
http://smalltalkhub.com/#!/~SvenVanCaekenberghe/Neo
If you want a SAX-DOM style parser your best bet might be adding a JSON
parser to the XMLParser here
http://smalltalkhub.com/#!/~PharoExtras/XMLParser
Here is an HTML parser based on that parser
:http://smalltalkhub.com/#!/~PharoExtras/XMLParserHTML .
Depending on your budget you could hire the XMLParser's maintainer (Monty)
to add it for you.
hope this helps
Paul
Alan Pinch wrote
> Good afternoon. I have a need for doing JSON encoding in both Squeak &
> pharo so I would like a common framework. As I need to do pre/post
> processing each object written, it needs to be a SAX-DOM style callback
> parser. What would be my best option for JSon encoding in both Squeak and
> Pharo? If the sax is absent I will need to write it and I would like to do
> so in an existing encoder framework, such as Magma or Fuel. What would be
> best?
>
> ---
> alan
--
View this message in context: http://forum.world.st/JSon-Encoders-tp4960276p4960289.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|