On Fri, Jul 31, 2009 at 6:50 AM, John Mettraux <[email protected]>wrote:

> Hello Kenneth,


Hi John


> I've been looking at your implementation of openwfe/util/json.rb and
> was planning to port it as is in ruote 2.0, but then I changed my mind
> and tried to come up with something equivalent :
>
>
> http://github.com/jmettraux/ruote/blob/e675a5e0042cfb93b270b7f2b86966d025453cfb/lib/ruote/util/json.rb
>
> with a test :
>
>
> http://github.com/jmettraux/ruote/blob/e675a5e0042cfb93b270b7f2b86966d025453cfb/test/unit/ut_10_json.rb
>
> Did I capture your intent or am I missing something ?


Much cleaner, well done. However, I'm worried about encoding to JSON as
well, since to_json() can be problematic as the libraries might trample over
each other when they're all loaded. I know ActiveSupport 3 wants to be a
good citizen, but we'll have the 2.x series around for a while still...

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to