Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 48365 invoked from network); 3 Jun 2009 15:18:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 15:18:09 -0000 Received: (qmail 50947 invoked by uid 500); 3 Jun 2009 15:18:21 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 50907 invoked by uid 500); 3 Jun 2009 15:18:21 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 50896 invoked by uid 500); 3 Jun 2009 15:18:21 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 50889 invoked by uid 99); 3 Jun 2009 15:18:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 15:18:20 +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; Wed, 03 Jun 2009 15:18:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA9A0234C044 for ; Wed, 3 Jun 2009 08:17:50 -0700 (PDT) Message-ID: <1912050919.1244042270697.JavaMail.jira@brutus> Date: Wed, 3 Jun 2009 08:17:50 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Assigned: (CAMEL-1664) JSON DataFormat using Jackson In-Reply-To: <2030601496.1243770231439.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-1664: ---------------------------------- Assignee: Claus Ibsen > JSON DataFormat using Jackson > ----------------------------- > > Key: CAMEL-1664 > URL: https://issues.apache.org/activemq/browse/CAMEL-1664 > Project: Apache Camel > Issue Type: New Feature > Affects Versions: Future > Reporter: Martin Gilday > Assignee: Claus Ibsen > Priority: Minor > Attachments: camel-jackson.zip > > > Camel currently allows marshaling with JSON using XStream. Attached is a complementary alternative using Jacskon (http://jackson.codehaus.org/). It offers a similar feature set, but would help those already using the library (such as already having Jackson/JAXB annotated classes). The implementation uses the (marginally) slower object mapper rather than the streaming API (to use that a Processor might be more appropriate as you need full control over the class to serialise). > See http://www.nabble.com/JSON-DataFormat-using-Jackson-td23802406.html > Due to the fact there is already a "json" node in the DSL there needs to be a way to choose which impl to use. Proposals so far are: > * Add a new method .marhsal.jackson() -- a little confusing as users may not know what jackson is > * Add an enum to choose e.g .marshal.json(JsonTypes.JACKSON) -- would need to choose a default impl -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.