_writeArray

private fnvoid _writeArray(W)(const var value, ref W buf, const JsonWriteOptions opts, uint depth, ref JsonWriteScratch scratch) @safe

Write an array value.

Iterates via the const element range instead of as!(var[]), which duplicated the whole array on every serialization (N037).