[chef] Re: Re: Re: knife JSON::ParserError


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: knife JSON::ParserError
  • Date: Tue, 8 Oct 2013 13:29:03 -0700


On Tuesday, October 8, 2013 at 1:19 PM, Chris wrote:

any attribute that is defined like 'default.rsyslog.central.ebs.stripe_action = :create'  is getting converted to 

{"json_class":"Symbol","s":"create"}

Something is writing a custom #to_json method on the symbol class. If the method is defined in ruby code (not a C extension) you can see where with:

:foo.method(:to_json).source_location

HTH,

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§