    # File lib/chef/knife/core/node_editor.rb, line 43
          def view
            result = {}
            result["name"] = node.name
            result["chef_environment"] = node.chef_environment
            result["normal"] = node.normal_attrs
            result["run_list"] = node.run_list

            if config[:all_attributes]
              result["default"]   = node.default_attrs
              result["override"]  = node.override_attrs
              result["automatic"] = node.automatic_attrs
            end
            Chef::JSONCompat.to_json_pretty(result)
          end