System.ServiceModel.Dispatcher.WebMessageFormatter.WrappedBodyWriter.WriteJsonBodyContents C# (CSharp) Method

WriteJsonBodyContents() public method

public WriteJsonBodyContents ( XmlDictionaryWriter writer ) : void
writer System.Xml.XmlDictionaryWriter
return void
			void WriteJsonBodyContents (XmlDictionaryWriter writer)
			{
				if (name != null) {
					writer.WriteStartElement ("root");
					writer.WriteAttributeString ("type", "object");
				}
				WriteObject (serializer, writer, value);
				if (name != null)
					writer.WriteEndElement ();
			}