11 references to Json
System.Data.Services (11)
System\Data\Services\DataService.cs (1)
1663
return ContentFormat.
Json
;
System\Data\Services\ResponseBodyWriter.cs (4)
142
case ContentFormat.
Json
:
150
if (this.responseFormat == ContentFormat.
Json
)
167
if (ContentFormat.
Json
== this.responseFormat)
217
string contentType = (this.responseFormat == ContentFormat.
Json
) ? XmlConstants.MimeApplicationJson : XmlConstants.MimeApplicationXml;
System\Data\Services\Serializers\Deserializer.cs (2)
158
case ContentFormat.
Json
:
205
if (contentFormat == ContentFormat.
Json
)
System\Data\Services\Serializers\JsonDeserializer.cs (3)
62
return ContentFormat.
Json
;
562
SetPropertyValue(resourceProperty, resource, propertyValue, ContentFormat.
Json
, this.Service);
570
SetPropertyValue(resourceProperty, resource, propertyValue, ContentFormat.
Json
, this.Service);
System\Data\Services\WebUtil.cs (1)
437
contentFormat = ContentFormat.
Json
;