steroid-team / app

Helping you organise your day with ease and privacy.
1 stars 2 forks source link

Make JSONSerializer serialize null values #249

Open YagoGG opened 3 years ago

YagoGG commented 3 years ago

Our JSONSerializer does not serialize attributes that are null, which means that the output's schema might not be super consistent across objects.

It also has the downside that when we add new attributes, JSONSerializerTest does not complain at all (even though we should add the new attribute to the fixtures).