    # File lib/chef/environment.rb, line 177
        def update_attributes_from_params(params)
          unless params[:default_attributes].nil? || params[:default_attributes].size == 0
            default_attributes(Chef::JSONCompat.from_json(params[:default_attributes]))
          end
          unless params[:override_attributes].nil? || params[:override_attributes].size == 0
            override_attributes(Chef::JSONCompat.from_json(params[:override_attributes]))
          end
        end