From dev-return-23481-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Oct 24 07:12:16 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56777D744 for ; Wed, 24 Oct 2012 07:12:16 +0000 (UTC) Received: (qmail 84891 invoked by uid 500); 24 Oct 2012 07:12:15 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 84842 invoked by uid 500); 24 Oct 2012 07:12:15 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 84767 invoked by uid 99); 24 Oct 2012 07:12:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 07:12:13 +0000 Date: Wed, 24 Oct 2012 07:12:13 +0000 (UTC) From: "Joan Touzet (JIRA)" To: dev@couchdb.apache.org Message-ID: <107868350.20651.1351062733149.JavaMail.jiratomcat@arcas> In-Reply-To: <1622446689.18892.1351033452285.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (COUCHDB-1573) Use JSON.stringify MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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