title: How to validate JSON in PHP older than 5.3.0?
body: <p>Is there any way to check that a variable is a valid JSON string in PHP without using <code>json_last_error()</code>? My PHP version is older than 5.3.0.</p>