[codemirror-json-schema](../README.md) / JSONValidationOptions

# Interface: JSONValidationOptions

## Table of contents

### Properties

- [formatError](JSONValidationOptions.md#formaterror)
- [jsonParser](JSONValidationOptions.md#jsonparser)
- [mode](JSONValidationOptions.md#mode)

## Properties

### formatError

• `Optional` **formatError**: (`error`: `JsonError`) => `string`

#### Type declaration

▸ (`error`): `string`

##### Parameters

| Name    | Type        |
| :------ | :---------- |
| `error` | `JsonError` |

##### Returns

`string`

#### Defined in

[features/validation.ts:30](https://github.com/jsonnext/codemirror-json-schema/blob/d360a86/src/features/validation.ts#L30)

---

### jsonParser

• `Optional` **jsonParser**: `DocumentParser`

#### Defined in

[features/validation.ts:31](https://github.com/jsonnext/codemirror-json-schema/blob/d360a86/src/features/validation.ts#L31)

---

### mode

• `Optional` **mode**: `JSONMode`

#### Defined in

[features/validation.ts:29](https://github.com/jsonnext/codemirror-json-schema/blob/d360a86/src/features/validation.ts#L29)
