Return-Path: X-Original-To: apmail-avro-user-archive@www.apache.org Delivered-To: apmail-avro-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C69199079 for ; Tue, 22 Nov 2011 21:24:35 +0000 (UTC) Received: (qmail 12733 invoked by uid 500); 22 Nov 2011 21:24:35 -0000 Delivered-To: apmail-avro-user-archive@avro.apache.org Received: (qmail 12694 invoked by uid 500); 22 Nov 2011 21:24:35 -0000 Mailing-List: contact user-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@avro.apache.org Delivered-To: mailing list user@avro.apache.org Received: (qmail 12686 invoked by uid 99); 22 Nov 2011 21:24:35 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 21:24:35 +0000 Received: from localhost (HELO [10.0.0.231]) (127.0.0.1) (smtp-auth username scottcarey, mechanism login) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 21:24:35 +0000 User-Agent: Microsoft-MacOutlook/14.13.0.110805 Date: Tue, 22 Nov 2011 13:26:58 -0800 Subject: Re: Equivalent of JsonDecoder for Ruby? From: Scott Carey Sender: Scott Carey To: "user@avro.apache.org" Message-ID: Thread-Topic: Equivalent of JsonDecoder for Ruby? In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I do not believe that Ruby supports the JSON encoding (yet). It would probably not be too difficult to add, but noone to my knowledge is working on it. On 11/21/11 1:52 PM, "Brandon Ballinger" wrote: >I'm currently using Avro to serialize/deserialize data in Java and >Ruby. In Java, I can use JsonDecoder to deserialize a JSON string as >an Avro buffer. What is the equivalent class in Ruby? I searched the >source repository at >https://github.com/apache/avro/tree/trunk/lang/ruby/lib/avro, but I >only see BinaryDecoder/BinaryEncoder, not the JSON equivalents. > >Thanks, >Brandon