We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
json_loads
1 parent bc47bc7 commit 43d4becCopy full SHA for 43d4bec
.github/copilot-instructions.md
@@ -23,6 +23,14 @@ This document provides guidelines and best practices for using GitHub Copilot in
23
- ensure we use `fastapi` >0.100 compatible code
24
- use f-string formatting
25
26
+
27
+### Json serialization
28
29
+- Use `json_loads` from `common_library.json_serialization` instead of `json.dumps` / `json.loads`.
30
+- Prefer Pydantic model methods (e.g., `model.model_dump_json()`) for serialization/deserialization.
31
+- Avoid using the built-in `json` module for these tasks.
32
33
34
## Node.js-Specific Instructions
35
36
- Use ES6+ syntax and features.
0 commit comments