toStream

open fun toStream(@NonNull writer: JsonStream)