#NEWLINE# def _ion_object_to_persistence_dict( self , ion_object ) : #NEWLINE# #INDENT# if ( ion_object is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# obj_dict = self . _io_serializer . serialize ( ion_object , update_version = True ) #NEWLINE# return ion_object