We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Is there a way to verify that a given input is indeed valid JSON?
I'm able to guard against the parsed value not being the object I expect, but not against it not being JSON at all:
let body = <JSON.Value>JSON.parse(text); if (body != null && body.isObj) {