Share via


JsonSerialization Constructors

Definition

Overloads

JsonSerialization()

Initializes a new instance of the JsonSerialization class.

JsonSerialization(String, String)

Initializes a new instance of the JsonSerialization class.

JsonSerialization()

Initializes a new instance of the JsonSerialization class.

public JsonSerialization ();
Public Sub New ()

Applies to

JsonSerialization(String, String)

Initializes a new instance of the JsonSerialization class.

public JsonSerialization (string encoding = default, string format = default);
new Microsoft.Azure.Management.StreamAnalytics.Models.JsonSerialization : string * string -> Microsoft.Azure.Management.StreamAnalytics.Models.JsonSerialization
Public Sub New (Optional encoding As String = Nothing, Optional format As String = Nothing)

Parameters

encoding
String

Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests. Possible values include: 'UTF8'

format
String

This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null. Possible values include: 'LineSeparated', 'Array'

Applies to