There is a method that allows skipping empty lists by creating a special method for every list property Can Newtonsoft Json.NET skip serializing empty lists?, but is there any method to skip all empty lists in the serialized objects graph?
PS I have to repeat this once again, the answer in the linked question is not suitable.