Object of type X is not JSON serializable - Object Serialization in Python Part 1

Опубликовано: 12 Сентябрь 2024
на канале: Python for Everyone
2k
46

In this video, you learn how to serialize python objects. You learn how to solve the well known serialization error and how to serialize subsets of attributes.

C H A P T E R S
0:20 TypeError: Object of type X is not JSON serializable
1:30 What types can be serialized?
2:00 Getting a dictionary from an object
2:38 Serialize a subset of attributes

M Y O N L I N E T R A I N I N G
Want to learn more Design Principles? Enroll in my SOLID course: