I have an object that is curently being serialized to:

{
  "label" : "label",
  "proxyIds" : [ ],
  "childIds" : [ 161, 204, 206, 303, 311 ],
  "actionIds" : [ 157, 202 ],
}

That proxyIds is an empty (not null) collection in the java object.

How do I configure Jackson to not include that object in the json at all?

I want behaviour similar to "unwrapped" collections in xml/soap where if the collection is empty it is not included. I do not need to distinguish between null and empty collection and want to reduce the size of the json payload.

Edit
Report