International-Data-Spaces-Association / Java-Representation-of-IDS-Information-Model

Apache License 2.0
2 stars 7 forks source link

Serializer: remove empty lists on toRdf() #9

Open juliapampus opened 3 years ago

juliapampus commented 3 years ago

The toRdf method removes null objects. This is nice, as we then have a clean rdf string without unnecessary information. With the new version, these empty lists for all list attributes bloat up the ids rdf string. Can you maybe change the toRdf method to handle empty lists as null?

sebbader commented 3 years ago

Hi Julia, looks like something changed in a Jackson library underneath. We are looking into it.