_writeNativeArray

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

Write a native-array value as a JSON numeric array (policy matrix).

Native real[] is rejected: text emission would silently narrow 80-bit values. Character code-unit arrays are emitted as numeric code units, never as strings. The write path boxes elements one at a time with this policy conversion — serialization may allocate; the value model does not.