TwinProperties.toJsonElement Method

Definition

Serializer

Creates a JsonElement, which the content represents the information in this class and its subclasses in a JSON format. This is useful if the caller will integrate this JSON with JSON from other classes to generate a consolidated JSON.

protected JsonElement toJsonElement()

Returns

com.google.gson.JsonElement

The JsonElement with the content of this class.

Applies to