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