toJson

abstract fun toJson(): JsonNode

Converts the parent instance into a JSON node.

The return value of this method should be idempotent.

Return

A JSON representation of the parent instance.