Home / Function/ json() — drizzle-orm Function Reference

json() — drizzle-orm Function Reference

Architecture documentation for the json() function in json.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  7f501cef_b731_df81_3ac5_0768071e60e5["json()"]
  9cf33382_6a25_c3a9_0185_da2af17a8484["json.ts"]
  7f501cef_b731_df81_3ac5_0768071e60e5 -->|defined in| 9cf33382_6a25_c3a9_0185_da2af17a8484
  style 7f501cef_b731_df81_3ac5_0768071e60e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/json.ts lines 62–64

export function json(name?: string) {
	return new PgJsonBuilder(name ?? '');
}

Domain

Subdomains

Frequently Asked Questions

What does json() do?
json() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/json.ts.
Where is json() defined?
json() is defined in drizzle-orm/src/pg-core/columns/json.ts at line 62.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free