toJson

open override fun toJson(): ObjectNode

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.