extensions/json-language-features/server/src/jsonServer.ts/getFullRange
function getFullRange(document: TextDocument): Range {
	return Range.create(Position.create(0, 0), document.positionAt(document.getText().length));
}