JsonSerialization Class

Definition

Describes how data from an input is serialized or how data is serialized when written to an output in JSON format.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Json")]
public class JsonSerialization : Microsoft.Azure.Management.StreamAnalytics.Models.Serialization
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Json")>]
type JsonSerialization = class
    inherit Serialization
Public Class JsonSerialization
Inherits Serialization
Inheritance
JsonSerialization
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

JsonSerialization()

Initializes a new instance of the JsonSerialization class.

JsonSerialization(String, String)

Initializes a new instance of the JsonSerialization class.

Properties

Encoding

Gets or sets 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

Gets or sets 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