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 AE9C8953F for ; Wed, 8 Feb 2012 22:19:22 +0000 (UTC) Received: (qmail 88630 invoked by uid 500); 8 Feb 2012 22:19:22 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 88492 invoked by uid 500); 8 Feb 2012 22:19:21 -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 88484 invoked by uid 99); 8 Feb 2012 22:19:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 22:19:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 22:19:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A2CCF1AB7EC for ; Wed, 8 Feb 2012 22:19:00 +0000 (UTC) Date: Wed, 8 Feb 2012 22:19:00 +0000 (UTC) From: "Elliott Clark (Updated) (JIRA)" To: dev@avro.apache.org Message-ID: <1448192143.16920.1328739540668.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <154369594.16911.1328739419807.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-1024) Allow users to subclass JsonEncoder 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-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elliott Clark updated AVRO-1024: -------------------------------- Attachment: AVRO-1024-1.patch > Allow users to subclass JsonEncoder > ----------------------------------- > > Key: AVRO-1024 > URL: https://issues.apache.org/jira/browse/AVRO-1024 > Project: Avro > Issue Type: Improvement > Components: java > Affects Versions: 1.5.4 > Reporter: Elliott Clark > Fix For: 1.5.4 > > Attachments: AVRO-1024-1.patch > > > Users who want to use a different representation of json from the JsonEncoder are forced to re-implement all of it since JsonEncoder's internals are all private. For example I wanted to make the json not contain type hints for unions. That required only overriding one method after this fix. > To fix this making things protected will allow users to change just code that is needed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira