of

open fun of(writableJson: WritableJson): WritableJson

Factory method used to create a WritableJson with a sensible toString that delegate to toJsonString.

Return

a new WritableJson with a sensible toString.

Parameters

writableJson

the source WritableJson