note 92873 rejected from function.json-encode by danbrown

From: Date: Wed, 12 Aug 2009 18:39:59 +0000
Subject: note 92873 rejected from function.json-encode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159392@lists.php.net to get a copy of this message
Note Submitter: mg at mg dot to ---- I think you misunderstood the JSON spec. A simple number or double-quoted string *is* valid JSON. The json_encode function does produce valid JSON when you pass it a number of string.

« previous php.notes (#159392) next »