你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JsonSerialization Class
- java.
lang. Object - Serialization
- com.
microsoft. azure. management. streamanalytics. JsonSerialization
- com.
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. |
Json |
format()
Get the format value. |
Json |
withEncoding(Encoding encoding)
Set the encoding value. |
Json |
withFormat(JsonOutputSerializationFormat format)
Set the format value. |
Method Details
encoding
public Encoding encoding()
Get the encoding value.
Returns:
format
public JsonOutputSerializationFormat format()
Get the format value.
Returns:
withEncoding
public JsonSerialization withEncoding(Encoding encoding)
Set the encoding value.
Parameters:
Returns:
withFormat
public JsonSerialization withFormat(JsonOutputSerializationFormat format)
Set the format value.
Parameters:
Returns: