<commit_before>import {isArray} from '@grid/core/utility';

export class Json {
	read(data) {
		const rows = JSON.parse(data);
		if (isArray(rows)) {
			for (let i = 0; i < rows.length; i++) {
				rows[i].rowNum = i;
			}
			return rows;

		}
		return [];
	}
}<commit_msg>get rid of rowNum default column in JSON import<commit_after>import {isArray} from '@grid/core/utility';

export class Json {
	read(data) {
		const rows = JSON.parse(data);
		if (isArray(rows)) {
			return rows;
		}
		return [];
	}
}
{'fraction_non_alphanumeric': 0.15841584158415842, 'fraction_numerical': 0.0019801980198019802, 'mean_word_length': 3.3620689655172415, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '82882', 'n_tokens_mistral': 205, 'n_tokens_neox': 186, 'n_words': 49}