    # File lib/chef/webui_user.rb, line 97
        def to_json(*a)
          attributes = Hash.new
          recipes = Array.new
          result = {
            'name' => name,
            'json_class' => self.class.name,
            'salt' => salt,
            'password' => password,
            'openid' => openid,
            'admin' => admin,
            'chef_type' => 'webui_user',
          }
          result["_id"]  = @couchdb_id if @couchdb_id
          result["_rev"] = @couchdb_rev if @couchdb_rev
          result.to_json(*a)
        end