toJson

fun toJson(): String

Encodes this metadata to a JSON string.