See all tags.
The json module only can encode str-like data. To encode other datatypes, just write a custom encoder class:
json
str