json.extract! employee, :id, :name, :role, :encrypted_access_code, :created_at, :updated_at json.url employee_url(employee, format: :json)