DataServiceClientFormat.UseJson Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseJson() |
Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. |
UseJson(IEdmModel) |
Indicates that the client should use the efficient JSON format. |
UseJson()
Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model.
public void UseJson ();
member this.UseJson : unit -> unit
Public Sub UseJson ()
Applies to
UseJson(IEdmModel)
Indicates that the client should use the efficient JSON format.
public void UseJson (Microsoft.OData.Edm.IEdmModel serviceModel);
member this.UseJson : Microsoft.OData.Edm.IEdmModel -> unit
Public Sub UseJson (serviceModel As IEdmModel)
Parameters
- serviceModel
- IEdmModel
The model of the service.