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