Share via


JsonPatch.ToBinaryData Method

Definition

Overloads

Name Description
ToBinaryData()

Returns the binary UTF-8 JSON representation using the default "JP" (JSON Patch) format.

ToBinaryData(String)

Returns the binary UTF-8 JSON representation using the specified format.

ToBinaryData()

Source:
JsonPatch.cs

Returns the binary UTF-8 JSON representation using the default "JP" (JSON Patch) format.

public BinaryData ToBinaryData();
member this.ToBinaryData : unit -> BinaryData
Public Function ToBinaryData () As BinaryData

Returns

A BinaryData containing the UTF-8 JSON representation.

Applies to

ToBinaryData(String)

Source:
JsonPatch.cs

Returns the binary UTF-8 JSON representation using the specified format.

public BinaryData ToBinaryData(string format);
member this.ToBinaryData : string -> BinaryData
Public Function ToBinaryData (format As String) As BinaryData

Parameters

format
String

The format to return: "J" for application/json or "JP" for application/json-patch+json.

Returns

A BinaryData containing the UTF-8 JSON representation.

Applies to