# JsonOptions

Package: `@threadplane/content/json` · 0.0.0

**Unpublished development API.**

Reference: /docs/api/content/json/JsonOptions

```typescript
import type { JsonOptions } from '@threadplane/content/json';
```

## JsonOptions

Controls whether invalid same-generation document transitions throw (the default) or rebuild the parser.

```typescript
export interface JsonOptions  {
  readonly violationPolicy?: 'throw' | 'rebuild';
}
```

### violationPolicy

```typescript
readonly violationPolicy?: 'throw' | 'rebuild';
```