java - Katharsis 3.0.2 upgrade issue -
i updating version of katharsis 2.8.2 3.0.2
in latest released version 3.0.2, there configuration in class io.katharsis.resource.resource below.
@jsoninclude(include.non_empty) private map<string, jsonnode> attributes = new hashmap<>(); and our problem is:
when value of field needed in dto null, hope field can invisible, configuration did in class katharsisfeature did before below no longer effective.
objectmapper.configure(serializationfeature.write_dates_as_timestamps, false) .configure(serializationfeature.write_null_map_values,false) .setserializationinclusion(jsoninclude.include.non_null) so, have advice?
Comments
Post a Comment