deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: [PATCH core] Core: Added .to_hash method to all Deltacloud models
Date Mon, 05 Nov 2012 16:30:31 GMT
On 11/05/2012 04:04 PM, mfojtik@redhat.com wrote:
> From: Michal Fojtik <mfojtik@redhat.com>
>
> * .to_hash produce Ruby Hash that can be converted to JSON
> * This patch makes 'crack' library obsolete
> * NOTE: This patch might break JSON backward compatibility.
>

Just FYI: This is just a 'work in progress' patch, I still need to write 
some tests to prove the JSON output produced using this way is the same 
as for all models. I will try to work this out this week.

Please feel free to comment this patch, if you have any doubts or you 
see some minor bugs/incompatibilities or you're missing something in the 
JSON output.

Thanks!

   -- Michal


-- 

Michal Fojtik <mfojtik@redhat.com>
Deltacloud API, CloudForms

Mime
View raw message