JsonSerialization Class

  • java.lang.Object
    • Serialization
      • com.microsoft.azure.management.streamanalytics.JsonSerialization

public class JsonSerialization extends Serialization

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

Method Summary

Modifier and Type Method and Description
Encoding encoding()

Get the encoding value.

JsonOutputSerializationFormat format()

Get the format value.

JsonSerialization withEncoding(Encoding encoding)

Set the encoding value.

JsonSerialization withFormat(JsonOutputSerializationFormat format)

Set the format value.

Method Details

encoding

public Encoding encoding()

Get the encoding value.

Returns:

the encoding value

format

public JsonOutputSerializationFormat format()

Get the format value.

Returns:

the format value

withEncoding

public JsonSerialization withEncoding(Encoding encoding)

Set the encoding value.

Parameters:

encoding - the encoding value to set

Returns:

the JsonSerialization object itself.

withFormat

public JsonSerialization withFormat(JsonOutputSerializationFormat format)

Set the format value.

Parameters:

format - the format value to set

Returns:

the JsonSerialization object itself.

Applies to