Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 84669 invoked from network); 16 Mar 2010 04:51:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 04:51:00 -0000 Received: (qmail 63296 invoked by uid 500); 16 Mar 2010 04:51:00 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 63166 invoked by uid 500); 16 Mar 2010 04:50:59 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 63158 invoked by uid 99); 16 Mar 2010 04:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 04:50:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 04:50:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EE190234C48C for ; Tue, 16 Mar 2010 04:50:27 +0000 (UTC) Message-ID: <1684802267.282451268715027974.JavaMail.jira@brutus.apache.org> Date: Tue, 16 Mar 2010 04:50:27 +0000 (UTC) From: "Bruce Mitchener (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Commented: (AVRO-462) C implementation does not accept "simple" primitive schemas In-Reply-To: <1233030214.251931268544807594.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845705#action_12845705 ] Bruce Mitchener commented on AVRO-462: -------------------------------------- The roadmap (http://wiki.github.com/akheron/jansson/roadmap) for Jansson 1.3 indicates that they want to support this ... wonder how hard it would be to contribute the required support to Jansson vs changing to yajl? > C implementation does not accept "simple" primitive schemas > ----------------------------------------------------------- > > Key: AVRO-462 > URL: https://issues.apache.org/jira/browse/AVRO-462 > Project: Avro > Issue Type: Bug > Components: c > Affects Versions: 1.3.0 > Reporter: Jeff Hodges > > Schemas like "null", "int", "string", etc. (instead of the longer, {type: "null"}, {type: "int"}, etc.) are not accepted by the C implementation. > This seems to be a problem with the jansson JSON library used. It (strictly correctly) says that simple strings are not JSON objects. > Switching to the yajl[1] library would fix this as yajl accepts "subsets" of JSON like strings, numbers and so on. > [1] http://lloyd.github.com/yajl/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.