Tagged: json

Quick and dirty JsonSerializable 0

Quick and dirty JsonSerializable

Sometimes it’s necessary to implement JsonSerializable without writing by hand every variable (protected and not) present in class. There is a small shortcut to it: