1 write to writer
System.Data.Services (1)
System\Data\Services\Serializers\JsonSerializer.cs (1)
59this.writer = new JsonWriter(new StreamWriter(output, encoding));
91 references to writer
System.Data.Services (91)
System\Data\Services\Serializers\JsonSerializer.cs (91)
77ErrorHandler.SerializeJsonError(args, this.writer); 83this.writer.Flush(); 94this.writer.StartObjectScope(); // { 95this.writer.WriteDataWrapper(); // "d" : 97this.writer.EndScope(); // } 112this.writer.StartObjectScope(); 113this.writer.WriteDataWrapper(); 125this.writer.StartObjectScope(); 126this.writer.WriteDataArrayName(); 131this.writer.StartArrayScope(); 157this.writer.EndScope(); // end data array 174this.writer.EndScope(); // end object scope 177this.writer.EndScope(); // end "d" wrapper 185this.writer.WriteName(XmlConstants.JsonRowCountString); 186this.writer.WriteValue(RequestDescription.CountValue); 196this.writer.StartObjectScope(); // { 197this.writer.WriteDataWrapper(); // "d" : 199this.writer.EndScope(); // } 210this.writer.StartObjectScope(); 211this.writer.WriteDataWrapper(); 216this.writer.StartObjectScope(); 217this.writer.WriteDataArrayName(); 220this.writer.StartArrayScope(); 246this.writer.EndScope(); 261this.writer.EndScope(); 264this.writer.EndScope(); 292this.writer.WriteName(XmlConstants.JsonNextString); 293this.writer.WriteValue(this.GetNextLinkUri(lastElement, skipTokenExpandedResult, absoluteUri)); 302this.writer.StartObjectScope(); 303this.writer.WriteName(XmlConstants.UriElementName); 304this.writer.WriteValue(uri.AbsoluteUri); 305this.writer.EndScope(); 319this.writer.WriteValue((string)value); 323this.writer.WriteValue(((System.Xml.Linq.XElement)value).ToString(System.Xml.Linq.SaveOptions.None)); 327this.writer.WriteValue((SByte)value); 331this.writer.WriteValue((bool)value); 335this.writer.WriteValue((byte)value); 339this.writer.WriteValue((DateTime)value); 343this.writer.WriteValue((Decimal)value); 347this.writer.WriteValue((Double)value); 351this.writer.WriteValue((Guid)value); 355this.writer.WriteValue((Int16)value); 359this.writer.WriteValue((Int32)value); 363this.writer.WriteValue((Int64)value); 367this.writer.WriteValue((Single)value); 373this.writer.WriteValue(result); 393this.writer.WriteName(XmlConstants.JsonMetadataString); 394this.writer.StartObjectScope(); 399this.writer.WriteName(XmlConstants.JsonUriString); 400this.writer.WriteValue(uriPath.AbsoluteUri); 406this.writer.WriteName(XmlConstants.JsonETagString); 407this.writer.WriteValue(etag); 411this.writer.WriteName(XmlConstants.JsonTypeString); 414this.writer.WriteValue(resourceType.FullName); 425this.writer.WriteName(XmlConstants.JsonEditMediaString); 426this.writer.WriteValue(editMediaUri); 428this.writer.WriteName(XmlConstants.JsonMediaSrcString); 429this.writer.WriteValue(readStreamUri.OriginalString); 431this.writer.WriteName(XmlConstants.JsonContentTypeString); 432this.writer.WriteValue(mediaContentType); 436this.writer.WriteName(XmlConstants.JsonMediaETagString); 437this.writer.WriteValue(mediaETag); 441this.writer.EndScope(); 465this.writer.StartObjectScope(); 466this.writer.WriteName(elementName); 468this.writer.EndScope(); 487this.writer.StartObjectScope(); 488this.writer.WriteDataArrayName(); 491this.writer.StartArrayScope(); 521this.writer.EndScope(); // array scope 532this.writer.EndScope(); // expanded object scope 555this.writer.StartObjectScope(); 556this.writer.WriteName(elementName); 575this.writer.EndScope(); 581this.writer.StartObjectScope(); 585this.writer.EndScope(); 591this.writer.StartObjectScope(); 592this.writer.WriteName(elementName); 594this.writer.EndScope(); 639this.writer.StartObjectScope(); 642this.writer.EndScope(); 651this.writer.StartObjectScope(); 652this.writer.WriteName(XmlConstants.JsonDeferredString); 653this.writer.StartObjectScope(); 654this.writer.WriteName(XmlConstants.JsonUriString); 655this.writer.WriteValue(uri.AbsoluteUri); 656this.writer.EndScope(); 657this.writer.EndScope(); 663this.writer.WriteValue((string)null); 674this.writer.WriteName(propertyName); 744this.writer.WriteName(propertyName);