_scratchKeys

private fnstring[] _scratchKeys(ref JsonWriteScratch scratch, const size_t depth) ref @safe

Obtain a cleared scratch key buffer for a given writer recursion depth.

Parameters

scratchThe scratch buffer structure to use.
depthThe current recursion depth.

Returns

A reference to a cleared key buffer for the specified depth.