endObject

open fun endObject(): JSONWriter

End an object. This method most be called to balance calls to object.

Return

this

Throws

If incorrectly nested.