RE: [PHP-NOTES] RE: note 92873 rejected and deleted from function.json-encode by notes editor danbrown
| From: | Michael Geary | Date: | Wed, 12 Aug 2009 23:58:31 +0000 |
| Subject: | RE: [PHP-NOTES] RE: note 92873 rejected and deleted from function.json-encode by notes editor danbrown | ||
| References: | 1 2 3 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159417@lists.php.net to get a copy of this message | ||
> From: Daniel Brown
>
> We (do our best to) delete any note that references or
> replies to another note in the manual. In your case, it was
> marked as "rejected" so that you would receive an email
> with instructions on how to report - as a bug at
> http://bugs.php.net/ - what you've found to be erroneous.
> As is stated in several places, the user notes are not a
> place to report bugs, and they are not to be used
> as a forum (which includes replies to other notes)...
Ah, thanks, Dan, I am less confused now. :-)
I did see the note about using bugs.php.net to report documentation bugs,
but I was somehow thinking that meant just bugs in the documentation itself,
not in the user comments. Maybe it would help to make it explicit that this
should be used to report errors in user comments as well as in the
documentation proper.
In any case, you may have saved me some embarrassment by deleting my
comment. I just took a closer look at the JSON spec, and it doesn't actually
say anywhere whether a complete, valid JSON string can contain just a
primitive value or if it has to be an array or object.
It's a pretty major omission in the spec, and in fact JSON implementations
have done it both ways. For example, json_encode() and json_decode() allow
primitive values, but www.jsonlint.com allows only arrays and objects.
I sent Doug Crockford a note asking for his opinion - I'll know better how
to proceed after I hear back from him. :-)
Thanks,
-Mike