Suppress Null Values When Serializing Apex Objects

The current implementation of the Apex serialize method returns null values when serializing Apex objects into JSON. Now we’ve added a serialize method with a flag to suppress null values. Set suppressApexObjectNulls to true to suppress them when serializing Apex objects into JSON.