Json5StreamParser._scanStructure

private void _scanStructure() @safe

Advances the incremental structural scan over unprocessed bytes.

Tracks bracket depth, string/comment state across pushes so that only newly arrived bytes are examined per call; the expensive full parse runs once the root becomes plausibly complete.