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 C02EF9735 for ; Mon, 18 Mar 2013 14:22:15 +0000 (UTC) Received: (qmail 23136 invoked by uid 500); 18 Mar 2013 14:22:15 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 23020 invoked by uid 500); 18 Mar 2013 14:22:15 -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 22985 invoked by uid 99); 18 Mar 2013 14:22:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 14:22:15 +0000 Date: Mon, 18 Mar 2013 14:22:15 +0000 (UTC) From: "Tom White (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AVRO-1275) GenericData's toString() method generates the wrong JSON encoding for the bytes type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tom White created AVRO-1275: ------------------------------- Summary: GenericData's toString() method generates the wrong JSON encoding for the bytes type Key: AVRO-1275 URL: https://issues.apache.org/jira/browse/AVRO-1275 Project: Avro Issue Type: Bug Components: java Reporter: Tom White We discovered in AVRO-1274 that for bytes GenericData.toString(Object datum) incorrectly generates {noformat} { "bytes" : "A" } {noformat} rather than just {{"A"}} for the JSON encoding defined in the spec (http://avro.apache.org/docs/current/spec.html#json_encoding). -- 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