Skip to content

Commit

Permalink
docs: update docs on serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
matmoncon committed Jan 15, 2024
1 parent e5054e8 commit 03d740f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ print(end_node) # <Developer>

#### Serializing models <a name="serializing-models"></a>

When serializing models to a dictionary or JSON string, the models `element_id and id` fields are `automatically added` to the corresponding dictionary/JSON string when calling Pydantic's `dict()` or `json()` methods. Furthermore, functionality like `aliases` and `exclusion of fields` are available for both the element_id and id field out of the box.
When serializing models to a dictionary or JSON string, the models `element_id and id` fields are `automatically added` to the corresponding dictionary/JSON string when calling Pydantic's `dict()` or `json()` methods.

#### Hooks <a name="hooks"></a>

Expand Down

0 comments on commit 03d740f

Please sign in to comment.