Let's dive right into an example.
I was working with third party JSON data which arrives from Webhook request. That data contains information abou...
For further actions, you may consider blocking this person and/or reporting abuse
That request data looks to be a handful to deal with and raises some questions about the design of the data:
After we've accepted the fact the data is what it is, we still have at least one big issue to handle.
To me it seems there's not much room to move around the problem. We'll have to parse the data somehow and it's going to be messy.
The trade off looks to be around "explicit vs. dynamic" algorithm.
Thanks