Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-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 8B8A4D59B for ; Fri, 9 Nov 2012 22:09:12 +0000 (UTC) Received: (qmail 42490 invoked by uid 500); 9 Nov 2012 22:09:12 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 42449 invoked by uid 500); 9 Nov 2012 22:09:12 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 42438 invoked by uid 99); 9 Nov 2012 22:09:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 22:09:12 +0000 Date: Fri, 9 Nov 2012 22:09:12 +0000 (UTC) From: "Sharmarke Aden (JIRA)" To: dev@avro.apache.org Message-ID: <456983071.93917.1352498952337.JavaMail.jiratomcat@arcas> In-Reply-To: <39845620.92143.1352476813117.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (AVRO-1201) CLONE - GenericRecord.toString can produce invalid JSON 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/AVRO-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494349#comment-13494349 ] Sharmarke Aden commented on AVRO-1201: -------------------------------------- That works even better. > CLONE - GenericRecord.toString can produce invalid JSON > ------------------------------------------------------- > > Key: AVRO-1201 > URL: https://issues.apache.org/jira/browse/AVRO-1201 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.7.2 > Reporter: Sharmarke Aden > Assignee: Jay Kreps > Attachments: avro-1201.patch, Avro-1201-TestCase.tar.gz > > > The GenericData.toString method can produce invalid JSON. The problem is that enums are printed without quotes, as in > {"emum_field":a} > instead of > {"enum_field":"a"} -- 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