toJson

public String toJson()

Serializes the built dialog to a JSON string. Users can call build if they need the JsonObject itself.

Return

JSON string representation