toJSON

open override fun toJSON(): JSONObject

Serializes a Metadata to its RWPM JSON representation.