[PEPr] Comment on Web Services::Services_JSON
| From: | Michal Migurski | Date: | Mon, 10 Oct 2005 05:16:22 +0000 |
| Subject: | [PEPr] Comment on Web Services::Services_JSON | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40122@lists.php.net to get a copy of this message | ||
Michal Migurski (http://pear.php.net/user/migurski) has commented on the proposal for Web
Services::Services_JSON.
Comment:
reduce_string() is called in two places to handle two possible locations
for "/*...*/" style comments - once at the very start of decode(), to
account for comments at the start & end of the entire JSON string, and
again inside the array/object literal parsing area to account for comments
inside brackets.
This is the only way I know of to remove such comments without
accidentally munging strings that may contain "/*" or "*/".
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=198
--
Sent by PEPr, the automatic proposal system at http://pear.php.net