deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <>
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, wrote:
> From: Michal Fojtik <>
> * .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.


   -- Michal


Michal Fojtik <>
Deltacloud API, CloudForms

View raw message