Serializable Class
- java.
lang. Object - java.
io. Serializable - com.
microsoft. azure. sdk. iot. provisioning. service. configs. Serializable
- com.
- java.
public class Serializable
Abstract class with the parser for the provisioning configurations.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Serializer Creates a
|
abstract JsonElement | toJsonElement() |
String |
toString()
Creates a pretty print JSON with the content of the child class and subclasses. |
Method Details
toJson
public String toJson()
Serializer
Creates aString
</code> , which the content represents the information in the child class and its subclasses in a JSON format. </p>
Returns:
TheString
</code> with the JSON. </p>
toJsonElement
protected abstract JsonElement toJsonElement()
toString
public String toString()
Creates a pretty print JSON with the content of the child class and subclasses.
Returns:
TheString
</code> with the pretty print JSON. </p>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java