Skip to content

Commit

Permalink
Docs: fix link to model_dump (#7297)
Browse files Browse the repository at this point in the history
  • Loading branch information
acdha committed Aug 30, 2023
1 parent b9d2a98 commit c987bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/serialization.md
Expand Up @@ -97,7 +97,7 @@ print(Model(x=['{"a": 1}', '[1, 2]']).model_dump(round_trip=True))
[`pydantic.main.BaseModel.model_dump_json`][pydantic.main.BaseModel.model_dump_json]<br>

The `.model_dump_json()` method serializes a model directly to a JSON-encoded string
that is equivalent to the result produced by [`.model_dump()`](#modelmodeldump).
that is equivalent to the result produced by [`.model_dump()`](#modelmodel_dump).

See [arguments][pydantic.main.BaseModel.model_dump_json] for more information.

Expand Down

0 comments on commit c987bc6

Please sign in to comment.