Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FB059EB0 for ; Mon, 2 Apr 2012 20:21:49 +0000 (UTC) Received: (qmail 39432 invoked by uid 500); 2 Apr 2012 20:21:49 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 39404 invoked by uid 500); 2 Apr 2012 20:21:49 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 39314 invoked by uid 99); 2 Apr 2012 20:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 20:21:49 +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; Mon, 02 Apr 2012 20:21:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E90943542BB for ; Mon, 2 Apr 2012 20:21:24 +0000 (UTC) Date: Mon, 2 Apr 2012 20:21:24 +0000 (UTC) From: "Richard Kettelerij (Resolved) (JIRA)" To: issues@camel.apache.org Message-ID: <987995797.2641.1333398084955.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <205815176.3916.1333321227637.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CAMEL-5135) Support excluding POJO fields during JSON marshalling 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/CAMEL-5135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Kettelerij resolved CAMEL-5135. --------------------------------------- Resolution: Fixed > Support excluding POJO fields during JSON marshalling > ----------------------------------------------------- > > Key: CAMEL-5135 > URL: https://issues.apache.org/jira/browse/CAMEL-5135 > Project: Camel > Issue Type: Improvement > Components: camel-gson, camel-jackson > Reporter: Richard Kettelerij > Assignee: Richard Kettelerij > Fix For: 2.10.0 > > > Jackson has the notion of [JSON views|http://wiki.fasterxml.com/JacksonJsonViews] to exclude POJO fields from being marshalled/serialized to JSON. This feature is currently not accessible when using the Camel JacksonDataFormat. This JIRA aims to extend the JacksonDataFormat with support for JSON views. > The GSON dataformat is a very similar to the JacksonDataFormat. To keep the feature set of both dataformats aligned the GSON dataformat will also be extended. The GSON library supports excluding POJO fields through the notion of [ExclusionStrategies|http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/ExclusionStrategy.html]. The current GsonDataFormat already allows for the use of an ExclusionStrategy, this JIRA just makes it easier accessible. -- 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