Skip to content

Commit

Permalink
Update from_json docs (#8144)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
  • Loading branch information
sydney-runkle and samuelcolvin committed Nov 15, 2023
1 parent 91bc828 commit 41e54dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/api/pydantic_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
- Some
- TzInfo
- to_json
# waiting for https://github.com/pydantic/pydantic-core/pull/1070
# - from_json
- from_json
- to_jsonable_python
- list_all_errors
- ErrorTypeInfo
Expand Down
3 changes: 1 addition & 2 deletions docs/concepts/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
??? api "API Documentation"
[`pydantic.main.BaseModel.model_validate_json`][pydantic.main.BaseModel.model_validate_json]<br>
[`pydantic.type_adapter.TypeAdapter.validate_json`][pydantic.type_adapter.TypeAdapter.validate_json]<br>
<!-- waiting for https://github.com/pydantic/pydantic-core/pull/1070 -->
<!-- [`pydantic_core.from_json`][pydantic_core.from_json]<br>) -->
[`pydantic_core.from_json`][pydantic_core.from_json]<br>

Pydantic provides builtin JSON parsing, which helps achieve:

Expand Down

0 comments on commit 41e54dd

Please sign in to comment.