// A present optional is represented as just the contained value. Note that
// this is a lossy representation. For example the values `Some(())` and
// `None` both serialize as just `null`. Unfortunately this is typically
// what people expect when working with JSON. Other formats are encouraged
// to behave more intelligently if possible.
A present optional is represented as just the contained value. Note that
this is a lossy representation.
A present optional is represented as just the contained value . Note that this is a lossy representation .
fn serialize_some<T>(self, value: &T) -> Result<AnyObject>
    where
        T: ?Sized + Serialize,
    {
        value.serialize(self)
    }
fn serialize_some < T > ( self , value : & T ) -> Result < AnyObject > where T : ? Sized + Serialize , { value . serialize ( self ) }
A present optional is represented as just the contained value.
A present optional is represented as just the contained value .
self
value
&T