<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [matchers](./case-definition-dsl.matchers.md) &gt; [primitives](./case-definition-dsl.matchers.primitives.md) &gt; [AnyInteger](./case-definition-dsl.matchers.primitives.anyinteger.md) &gt; [toJSON](./case-definition-dsl.matchers.primitives.anyinteger.tojson.md)

## matchers.primitives.AnyInteger.toJSON() method

For non-TypeScript implementations (see `AnyMatcher.toJSON`<!-- -->)

**Signature:**

```typescript
toJSON(): unknown;
```

**Returns:**

unknown
