JsonStreamParser._rootNumberCouldExtend

private bool _rootNumberCouldExtend(const ref var v) const @safe

Checks whether a successfully parsed root is a number that could be extended by additional input.

Parameters

vThe parsed root value.

Returns

true when the root is a numeric scalar and the buffer's last

non-whitespace byte is a digit or decimal point — i.e. appending more digits would still yield a valid number.