你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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