Mecha CMS

Detector.

Is::JSON()

Check for valid JSON string.

2.0.02.2.0static
Is::JSON($x);

Example:

if (Is::JSON('{"foo":"bar"}')) { … }