fn writeStreamArbitraryDepth(allocator: Allocator, out_stream: anytype, options: StringifyOptions) WriteStream(@TypeOf(out_stream), .checked_to_arbitrary_depth)
[src]
See WriteStream
for documentation. This version of the write stream enables safety checks to arbitrarily deep nesting levels by using the given allocator. The caller should call deinit()
on the returned object to free allocated memory.
In ReleaseFast
and ReleaseSmall
mode, this function is effectively equivalent to calling writeStreamMaxDepth(..., null)
; in those build modes, the allocator is not used.