Anyone else running into issues with json.dumps hs? How are you handling it? or What’s the best way t

20 Replies, 925 Views

Ugh, json.dumps hs and special chars are the worst combo.

I ended up using `json.dumps(data, ensure_ascii=False, indent=2)` and it worked like a charm.

If you’re still stuck, maybe check your terminal/editor encoding? Sometimes that’s the real culprit.

Messages In This Thread



Users browsing this thread: 1 Guest(s)