toJson

fun toJson(gson: Gson): String

Serialize FeedbackMetadata to json string.

Note that the internal structure of FeedbackMetadata can change at any time, so a FeedbackMetadata object converted to JSON in older versions of the SDK, might not be restored correctly using fromJson.