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