Wow, thanks for all the tips!
I tried AJV and it’s already saving me so much headache. Still getting used to the schema syntax, though.
Also, the `?.` trick is genius—no more crashing on missing fields.
One follow-up: how do you handle *dynamic* parsed json where the structure isn’t always predictable? Like, optional nested objects?
I tried AJV and it’s already saving me so much headache. Still getting used to the schema syntax, though.
Also, the `?.` trick is genius—no more crashing on missing fields.
One follow-up: how do you handle *dynamic* parsed json where the structure isn’t always predictable? Like, optional nested objects?
