This PR adds an explicit nil check when retrieving properties from a map inside the various UnmarshalXXX() methods. Previously, we were checking for the existence of the property in the map, but did not consider the possibility that the value of the property is the JSON null value.
Fixes: https://github.ibm.com/arf/planning-sdk-squad/issues/1517 Fixes: https://github.ibm.com/ibmcloud/platform-services-go-sdk/issues/14
This PR adds an explicit nil check when retrieving properties from a map inside the various UnmarshalXXX() methods. Previously, we were checking for the existence of the property in the map, but did not consider the possibility that the value of the property is the JSON null value.