function · Browser and Node

# evidenceToJson

`@toip-tools/eventlog` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/eventlog/src/store.ts#L72)

Import:

```ts
import { evidenceToJson } from "@toip-tools/eventlog";
```

## Declaration

Signature:

```ts
evidenceToJson(e: DuplicityEvidence): StoredEvidence;
```

### Parameters

- **`e` (required)**: `DuplicityEvidence`

### Returns

`StoredEvidence`

[Usage guide](https://toip.tools/toolkit/eventlog/#usage) · [Error handling](https://toip.tools/toolkit/eventlog/#errors) · [All exports](https://toip.tools/toolkit/eventlog/api/)

---

This is the Markdown version of https://toip.tools/toolkit/eventlog/api/evidenceToJson/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
