In order to allow non-dict objects to be serialized set the safe parameter to False.
Similar codes
- 0 vote135 views1 answer
- 0 vote126 views1 answer
- 52 votes255 views6 answers
- 0 vote123 views1 answer
- 14 votes107 views3 answers
- 0 vote107 views1 answer
- 0 vote104 views1 answer
- 0 vote108 views1 answer
- -1 vote116 views1 answer
- 0 vote109 views1 answer