| ▲ | smitty1e 4 hours ago | |
Whenever I'm building a JSON document, I revert to the old %s syntax just because it's more tidy than an f-string. | ||
| ▲ | folkrav 4 hours ago | parent [-] | |
Am I understanding that you’re building JSON with string interpolation? If so any special reason you wouldn’t build a dict and json.dumps() it? | ||