Hotfix package builder emitting JSON with missing keys for empty values
The meaning of `mapper.setSerializationInclusion` changed with the
Jackson upgrade, which meant that empty collections were being fully
stripped from the output. Fix by changing the strategy to NON_ABSENT,
which only strips nulls and "absent" values like Optional.absent
1 parent 2fe96e4 commit debd8224477518457bf06729616fe5ee4fafe16f
@Henry Le Grys Henry Le Grys authored on 1 May 2022
Showing 1 changed file
View
launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java