I'm using the Jersey library in conjunction with the Jackson library to use REST-type web services. In calls, I usually use the following code that transforms a given entity into a JSON to be sent in the request body.
Map<String, Object> response = api.request().post(Entity.json(entidade), Map.class);
The point is that there are some attributes in the entidade
to be sent that I wish would not be serialized as JSON in the request and would be missing from it.
Is there any% c or% or something of the type in which it is possible to determine attributes that should not be serialized in this type of request?