> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: ViewField<Path>

> Not exported: an exported type refers to it.

[server](/api/modules/server).ViewField

Not exported: an exported type refers to it.

## Type parameters

| Name | Type |
| :- | :- |
| `Path` | extends `string` |

## Hierarchy

* `ExpressionImpl`

  ↳ **`ViewField`**

## Constructors

### constructor

• **new ViewField**\<`Path`>(`path`)

#### Type parameters

| Name | Type |
| :- | :- |
| `Path` | extends `string` |

#### Parameters

| Name | Type |
| :- | :- |
| `path` | `Path` |

#### Overrides

ExpressionImpl.constructor

## Properties

### fieldPath

• `Readonly` **fieldPath**: `Path`

## Methods

### serialize

▸ **serialize**(): [`JSONValue`](/api/modules/values#jsonvalue)

#### Returns

[`JSONValue`](/api/modules/values#jsonvalue)

#### Inherited from

ExpressionImpl.serialize


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.