On Sun, May 24, 2009 at 2:33 AM, John Mettraux <[email protected]>wrote:
> > On Sun, May 24, 2009 at 8:38 AM, Kenneth Kalmer > <[email protected]> wrote: > >> > >> Since I've hit a snag with the ruote-rest's JSON encoding with the > >> soon-to-be-released ActiveSupport 2.3.X I'm going to give OpenWFE::JSON > a > >> pluggable JSON backend which will dynamically detect the presence of one > of > >> the three JSON backends and use them accordingly. This can be changed as > >> well. > > > > [1] http://github.com/kennethkalmer/ruote/tree/json > > [2] > > > http://github.com/kennethkalmer/ruote/commit/78bcc1f78346d26a141b8463f25756200185d8e7 > > Hello, > > this looks good, feel free to send me a pull request when you are happy > with it. Definitely, just going to put the changes through its paces on our actually implementation of ruote-rest. > Maybe a test reproducing the issue faced by Nicholas with JSON and > newlines would keep away some surprises from us. What do you guys > think ? > Sounds like a good plan. I can roll a custom assertion into both ruote and ruote-rest/kit to ensure the generated JSON doesn't have any newlines characters. I'll check through the JSON specs as well, since I have to admit I've relied blindly on the JSON being generated and parsed by same library on both ends, which would obviously mask any issues like the one Nic has. Thanks a lot ! > Pleasure :) Best -- Kenneth Kalmer [email protected] http://opensourcery.co.za @kennethkalmer --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
