# File lib/chef/cookbook/metadata.rb, line 476 def self.from_json(string) o = Chef::JSONCompat.from_json(string) self.from_hash(o) end