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

# JsonDb

> Store sessions, memories, metrics, knowledge, evals, and traces in local JSON files.

`JsonDb` is a class that implements the Db interface using JSON files as the backend storage system. It provides simple, file-based storage with each table stored as a separate JSON file.

<Snippet file="db-json-params.mdx" />

<Snippet file="db-new-bulk-methods.mdx" />

<Warning>
  In Agno v2.7.2, `JsonDb.upsert_sessions()` and `JsonDb.upsert_memories()` declare `preserve_updated_at`, but the JSON backend does not forward it to individual upserts. `JsonDb` does not preserve supplied `updated_at` values when this argument is `True`.
</Warning>
