You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2012/10/24 01:04:11 UTC
[jira] [Created] (COUCHDB-1573) Use JSON.stringify
Robert Newson created COUCHDB-1573:
--------------------------------------
Summary: Use JSON.stringify
Key: COUCHDB-1573
URL: https://issues.apache.org/jira/browse/COUCHDB-1573
Project: CouchDB
Issue Type: Improvement
Reporter: Robert Newson
Fix For: 1.4
Ditch json.js and eval() calls entirely and use the native JSON.stringify/parse calls in spidermonkey.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1573) Use JSON.stringify
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483038#comment-13483038 ]
Paul Joseph Davis commented on COUCHDB-1573:
--------------------------------------------
Its not in the js shell compiled from the 1.8.0rc1 tarball I have lying around. So the 1.8.5 tarball would be the latest release of that nature that supports it.
> Use JSON.stringify
> ------------------
>
> Key: COUCHDB-1573
> URL: https://issues.apache.org/jira/browse/COUCHDB-1573
> Project: CouchDB
> Issue Type: Improvement
> Reporter: Robert Newson
> Fix For: 1.4
>
>
> Ditch json.js and eval() calls entirely and use the native JSON.stringify/parse calls in spidermonkey.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1573) Use JSON.stringify
Posted by "Joan Touzet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483039#comment-13483039 ]
Joan Touzet commented on COUCHDB-1573:
--------------------------------------
According to this page JSON.stringify exists in 1.7.0 and forward: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON/stringify
However, jchris says: https://twitter.com/jchris/status/7138256781 "Looks like Spidermonkey's native JSON.stringify() is to blame for lack of E4X support. If I had wifi I'd be searching Bugzilla now." Also see http://stackoverflow.com/questions/11206132/couchdb-e4x-for-documents-containing-xml
Is this a concern?
> Use JSON.stringify
> ------------------
>
> Key: COUCHDB-1573
> URL: https://issues.apache.org/jira/browse/COUCHDB-1573
> Project: CouchDB
> Issue Type: Improvement
> Reporter: Robert Newson
> Fix For: 1.4
>
>
> Ditch json.js and eval() calls entirely and use the native JSON.stringify/parse calls in spidermonkey.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1573) Use JSON.stringify
Posted by "Joan Touzet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482939#comment-13482939 ]
Joan Touzet commented on COUCHDB-1573:
--------------------------------------
I cannot have this assigned to me (yet) but I have the patch for this for BigCouch about to be released, and will submit an appropriate CouchDB patch for this in the next week or so.
> Use JSON.stringify
> ------------------
>
> Key: COUCHDB-1573
> URL: https://issues.apache.org/jira/browse/COUCHDB-1573
> Project: CouchDB
> Issue Type: Improvement
> Reporter: Robert Newson
> Fix For: 1.4
>
>
> Ditch json.js and eval() calls entirely and use the native JSON.stringify/parse calls in spidermonkey.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1573) Use JSON.stringify
Posted by "Benoit Chesneau (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483036#comment-13483036 ]
Benoit Chesneau commented on COUCHDB-1573:
------------------------------------------
It will require us to bump the spidermonkey required version (which is good). From which version are we sure that native json is built by default ?
> Use JSON.stringify
> ------------------
>
> Key: COUCHDB-1573
> URL: https://issues.apache.org/jira/browse/COUCHDB-1573
> Project: CouchDB
> Issue Type: Improvement
> Reporter: Robert Newson
> Fix For: 1.4
>
>
> Ditch json.js and eval() calls entirely and use the native JSON.stringify/parse calls in spidermonkey.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira