Share via


DataServiceClientFormat.UseJson Method

Definition

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.

Applies to