Add configuration to control whether to write null value in JSON serialization in aggregation #283

This commit is contained in:
Francis Dong
2021-08-23 16:29:50 +08:00
committed by dxfeng10
parent f898b7145c
commit 8d68b737bd
4 changed files with 28 additions and 13 deletions

View File

@@ -358,6 +358,8 @@ public class MapUtil {
}
return newValue;
});
} else {
target.put(key, value);
}
});
return target;