You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add clarity and reference to JSON tags (#2819)
* docs: add clarity and reference to JSON tags
* Update docs/howto/structs.md
Added a link to the configuration reference on the JSON tags session.
* fix(docs): link to configuration reference
Copy file name to clipboardExpand all lines: docs/howto/structs.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,8 @@ CREATE TABLE authors (
31
31
);
32
32
```
33
33
34
-
sqlc can generate structs with JSON tags. The JSON name for a field matches
34
+
sqlc can generate structs with JSON tags by adding the `emit_json_tags` key to the configuration file as it shows on [configuration reference](../reference/config.md).
0 commit comments