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 1E6731099D for ; Fri, 13 Dec 2013 07:34:18 +0000 (UTC) Received: (qmail 63448 invoked by uid 500); 13 Dec 2013 07:34:15 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 61415 invoked by uid 500); 13 Dec 2013 07:34:10 -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 61254 invoked by uid 99); 13 Dec 2013 07:34:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Dec 2013 07:34:07 +0000 Date: Fri, 13 Dec 2013 07:34:07 +0000 (UTC) From: "Adam Cataldo (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AVRO-1408) JsonDecoder fails when fields with default values are omitted 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-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Cataldo resolved AVRO-1408. -------------------------------- Resolution: Not A Problem Release Note: Thanks for the clarification Doug. > JsonDecoder fails when fields with default values are omitted > ------------------------------------------------------------- > > Key: AVRO-1408 > URL: https://issues.apache.org/jira/browse/AVRO-1408 > Project: Avro > Issue Type: Bug > Affects Versions: 1.7.4, 1.7.5 > Reporter: Adam Cataldo > > Start with an IDL like > protocol Foo { > record Bar { > int x; > int y = 0; > } > } > Then use JsonDecoder to deserialize: > {"x":30} > Bug: this fails because y is not provided. -- This message was sent by Atlassian JIRA (v6.1.4#6159)