The most general-purpose method to write an object.
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
      
    
      
    
      
    
      Writes the object representing the key of a key-value pair.
      
    
      Writes the object representing the value of a key-value pair.
:: DeveloperApi :: A stream for writing serialized objects.