camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Kettelerij (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5135) Support excluding POJO fields during JSON marshalling
Date Sun, 01 Apr 2012 23:00:27 GMT
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

        

Mime
View raw message