In order to allow non-dict objects to be serialized set the safe parameter to False.
Similar codes
- 1 vote156 views1 answer
- 0 vote152 views1 answer
- 20 votes151 views2 answers
- 6 votes167 views1 answer
- 0 vote210 views1 answer
- 0 vote145 views1 answer
- 1 vote171 views1 answer
- -1 vote170 views1 answer
- 0 vote208 views1 answer
- 10 votes179 views3 answers