In order to allow non-dict objects to be serialized set the safe parameter to False.
Similar codes
- 0 vote153 views1 answer
- 0 vote174 views2 answers
- 0 vote174 views1 answer
- 0 vote181 views1 answer
- 1 vote165 views1 answer
- 0 vote170 views1 answer
- 0 vote166 views1 answer
- 19 votes179 views4 answers
- 0 vote176 views1 answer
- 2 votes173 views1 answer