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:
Applies to
Azure SDK for Java