Skip to content

Add car serialization and deserialization functionality#669

Open
Exteriordemonic wants to merge 4 commits into
mate-academy:masterfrom
Exteriordemonic:develop
Open

Add car serialization and deserialization functionality#669
Exteriordemonic wants to merge 4 commits into
mate-academy:masterfrom
Exteriordemonic:develop

Conversation

@Exteriordemonic
Copy link
Copy Markdown

  • Implemented serialize_car_object and deserialize_car_object functions in main.py for converting Car instances to and from JSON.
  • Enhanced CarSerializer in car/serializers.py with fields for id, manufacturer, model, horse powers, is_broken status, and problem description.
  • Updated .gitignore to include additional file types and directories for better environment management.

- Implemented `serialize_car_object` and `deserialize_car_object` functions in `main.py` for converting Car instances to and from JSON.
- Enhanced `CarSerializer` in `car/serializers.py` with fields for id, manufacturer, model, horse powers, is_broken status, and problem description.
- Updated `.gitignore` to include additional file types and directories for better environment management.
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some actions are not successful, please fix it.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some actions are not successful, please fix it.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some actions are not successful, please fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant