How Do You Handle Errors When Working with Parsed JSON Data? or What’s the Best Way to Validate Parse

20 Replies, 1923 Views

Dude, same. Parsed json is wild.

I’ve started using `json-schema` to define what my data *should* look like. Then I run the parsed json through that before using it.

For logging, I just throttle it—like, only log the first 3 errors of the same type per minute.

Messages In This Thread



Users browsing this thread: 1 Guest(s)