[chef-dev] Re: error in json_compat when doing a cookbook upload


Chronological Thread 
  • From: Seth Falcon < >
  • To: Kishore S Kumar < >
  • Cc: Daniel DeLeo < >, chef-dev < >
  • Subject: [chef-dev] Re: error in json_compat when doing a cookbook upload
  • Date: Wed, 5 Dec 2012 03:56:24 +0000
  • Accept-language: en-US


On Dec 4, 2012, at 7:40 PM, Kishore S Kumar wrote:
Thanks for reply.. One last question
> Is there a plan to remove json_class from all the jsons chef uses? Or would 
> newer chef servers don't return a json with chef::sandbox for json_class?

Removing the 'json_class' key from JSON responses sent by Chef Server and 
altering the Chef code base to use a more explicit mechanism of parsing JSON 
data into Chef objects is something that the team at Opscode would like to 
see happen.

We don't, at present, have an explicit timeline for when these changes would 
occur. The first step would be making changes to the client code to not rely 
on the json_class auto-inflation. Then in a major release, the server could 
stop emitting those keys.

+ seth





Archive powered by MHonArc 2.6.16.

§