mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
remove the Jackson dependency (tas one will be picked) (#446)
change the mapper to exclude the null value as for NON_DEFAULT values some changes were added on Jackson after 2.8.3 version
This commit is contained in:
@@ -90,8 +90,8 @@ public class PojoUtility
|
||||
mapper.addMixIn(target, mixinSource);
|
||||
}
|
||||
|
||||
//include only values that differ from default settings to be included
|
||||
mapper.setSerializationInclusion(Include.NON_DEFAULT);
|
||||
//include only non null values
|
||||
mapper.setSerializationInclusion(Include.NON_NULL);
|
||||
|
||||
//return the json object
|
||||
try
|
||||
|
Reference in New Issue
Block a user