Jackson JSON User Group

JSON in Java the Right Way -- Action, Jackson!

Latest Activity

Rui Vilao posted a discussion

ConcurrentModificationException

Hi,First of all I'm sorry if this is not the correct place to report this bug but for some reason I couldn't do it under the Jackson bug tracking JIRA.I found something related but it's too old: http://jira.codehaus.org/browse/JACKSON-251I'm getting the following ConcurrentModificationException (version 1.9.7):ERROR jQueryFinder *~-~-~-~-~-~-~-~-~-~-~-~* ERROR jQueryFinder *ERROR IN THE ERROR PAGE* ERROR jQueryFinder…See More
11 hours ago
Profile IconRui Vilao, Brad Sturtevant and Nic joined Jackson JSON User Group
11 hours ago
Nic posted a discussion

Using @JsonTypeInfo with Hibernate4Module

Hi I have been writing a REST service using CXF+Jackson and have hit a bit of a road block. The service method I'm having trouble with loads entities from hibernate 4 to serialize and return, and is as follows: I have parent class, ModeratedContent, and it has two child classes, Review and Comment.Another class, Product, contains a lazily-loaded list of Reviews. The lazy-loading initially gave me trouble when serializing as it would try to load all the Reviews with no hibernate…See More
yesterday
gembin replied to gembin's discussion How to overwrite the default EnumSerializer
"thanks a lot for your suggestion. i filed an RFE https://github.com/FasterXML/jackson-databind/issues/227"
yesterday
Ben McCann replied to Ben McCann's discussion filterOutAllExcept in Jackson 2
"Hmm, it seems this feature won't do me any good because it only works with really simple objects that aren't nested. I've seen other people posting about having trouble making it work with nested objects, but no one has found a…"
Sunday
Ben McCann replied to Ben McCann's discussion filterOutAllExcept in Jackson 2
"The only way I have figured out how to do this is to annotate my class with @JsonFilter and then always provide a filter whether I want one or not, but just have the default filter be a no-op."
Sunday
Ben McCann posted a discussion

filterOutAllExcept having no effect (Jackson 2)

I would like to sometimes filter out some fields when serializing (e.g. possibly using SimpleBeanPropertyFilter.filterOutAllExcept) and sometimes include all fields. Do I have to create two ObjectMappers with two different custom modules to do this? I'm not sure the best way of approaching this.Thanks!See More
Sunday
Ben McCann is now a member of Jackson JSON User Group
Sunday

[SPACE FOR SALE -- AdBrite sucks!]

Members

 
 
 
 

© 2013   Created by Tatu Saloranta.   Powered by

Badges  |  Report an Issue  |  Terms of Service