
April 28, 2022
3:51 p.m.
Can you give an example of real code that does this? In general, parsing JSON data and normalizing it. The existing architecture has microservices consuming PubSub messages for which the data-payload is JSON. In some cases, deleting dictionary keys is convenient (as opposed to, say, building a new dict and dumping it), as a way to prepare it for the downstream consumer.
I should say, there is no inherent need for a new way to delete a dictionary entry. This was merely an "idea" to a list of "ideas"! I appreciate the fair criticism and consideration, along with that of Antoine and Chris. I agree with you that there is probably no need for a fourth solution.