The JSON equivalent of a Python dict is a JSON object. However its keys must be strings, that's a well-known limitation.
I need to support also boolean and numeric keys. I could make a simple Python value <--> JSON string one-to-one translation:
False <--> "bool:False"
42 <--> "int:42"
"Foo" <--> "str:Foo"
But I'd like to ask if there is some existing recommendation or some kind of standard for this. Simply anything that it is worth to be compatible with.