toJson

fun toJson(): String

Encode this packet into a JSON string.

Uses automatic Kotlin object tokenization by InstanceTokenizer through TokenizingJson.

Return

Valid JSON string.

Sources

jvm source
Link copied to clipboard