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
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:
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
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