JsonStreamParser._unterminatedStringAt

private bool _unterminatedStringAt(size_t idx) const @safe

Checks whether an unterminated string literal starts at idx.

Scans forward honouring backslash escapes; returns true only when the opening quote has no matching closing quote before end-of-buffer.

Parameters

idxByte offset of the candidate opening quote.

Returns

true when the string running from idx reaches the buffer end

without being closed.