JsonStreamParser._plausiblyComplete

private bool _plausiblyComplete(bool finishedInput) const @safe

Decides whether the buffered input could contain a complete root value.

Parameters

finishedInputWhether finish has been called.

Returns

true when the structural state suggests attempting a full parse:

either the stream is finished (so errors must surface), or all brackets are closed, no string is open, and the trailing byte cannot extend a root-level number token.