Given the widespread use JSON as a data transport, we should have:
like we have:
There are a few libraries out there – replacing these with one or a few lines of code would be extremely useful.
Karl Donaubauer commented
There is also Peter Bryant's older JSON suggestion: