In order to allow non-dict objects to be serialized set the safe parameter to False.
Similar codes
- 2 votes103 views1 answer
- 0 vote105 views1 answer
- 0 vote106 views1 answer
- 0 vote145 views1 answer
- 7 votes99 views2 answers
- 63 votes248 views6 answers
- 0 vote100 views1 answer
- 41 votes137 views3 answers
- 0 vote92 views1 answer
- 19 votes117 views6 answers