def _get_or_none(self, from_obj):
return from_obj.get() if from_obj is not None else None<EOL>
Get the JSON representation of the object, else return None

        :param from_obj: Get the JSON representation of the object,
        else return None
        :type from_obj: obj