[jackson-user] JsonMappingException: Can not resolve PropertyFilter with id

2016-06-30 Thread Amol Fuke
Hi , I have a common bean that I am using in my 2 separate REST calls.Both the calls have different output attributes from same bean (i.e CampainBean) CampaignBean has 3 attributes - id , name and status Rest Call 1 - needs to show "id" and "name" Rest Call 2 - Need to show "id","name" and

[jackson-user] StackOverflowError in deeply nested JSON

2016-06-30 Thread Colin White
I'm trying to serialize a JSON object that represents a conversation tree. Here's the POJO: class Node { @JsonProperty("children") private List children; @JsonProperty("text") private String text;} Eventually the tree ends with a Node with an empty list of children. The problem is:

Re: [jackson-user] com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10))

2016-06-30 Thread Gregg Freeman
Thank you very much for the response. I looked through the defects and agree that I didn't see anything related to this. The Feature setting you specified will help us out a ton. Our environment is pretty "structured" for getting new releases, but we'll try to get the patch release. Thanks

Re: [jackson-user] com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 10))

2016-06-30 Thread Tatu Saloranta
If content does indeed contain character 10 (Unicode), that is, linefeed, it is prohibited by JSON specification (should be escaped as \n), so the content should be fixed and parser is right to report it. This is assuming content does have that; cut'n pasting JSON can not quite tell that, so you'd