<commit_before><html>
	<head>
		<script type="text/javascript" src="js/exports.js"></script>
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/styles/default.min.css">
		<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script>
		<script>hljs.initHighlightingOnLoad();</script>
		<script type="text/javascript">
		function convert() {
			var sourceText = document.getElementById("source").value;
			var sourceJSON = JSON.parse(sourceText);
			var destination = document.getElementById("destination");
			var writers = [json2swift.writers.base];
			destination.innerText = json2swift.parseDocument(sourceJSON, writers);
			hljs.highlightBlock(destination);
		}
		</script>
	</head>
	<body>
		<a href="https://github.com/viteinfinite/json2swift"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
		<textarea id="source" cols="70" rows="20"></textarea>
		<br />
		<button onclick="javascript:convert()">Convert</button>
		<br />
		<pre><code class="swift" id="destination">...</code></pre>
	</body>
</html><commit_msg>[html] Add checkboxes<commit_after><html>
	<head>
		<script type="text/javascript" src="js/exports.js"></script>
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/styles/default.min.css">
		<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script>
		<script>hljs.initHighlightingOnLoad();</script>
		<script type="text/javascript">
		function convert() {
			var sourceText = document
				.getElementById("source")
				.value
				.replace(new RegExp("\n", 'g'), " ");
			var sourceJSON = JSON.parse(sourceText);
			var destination = document.getElementById("destination");
			
			var writers = [json2swift.writers.base];
			if (document.getElementById("cb-writer-class").checked) {
				writers.push(json2swift.writers.class);
			}
			if (document.getElementById("cb-writer-nsobject").checked) {
				writers.push(json2swift.writers.class);
				writers.push(json2swift.writers.nsObject);
			}
			if (document.getElementById("cb-writer-argo").checked) {
				writers.push(json2swift.writers.argo);
			}

			destination.innerText = json2swift.parseDocument(sourceJSON, writers);
			hljs.highlightBlock(destination);
		}
		</script>
	</head>
	<body>
		<div id="writer-cbs">
			<input type="checkbox" id="cb-writer-class">Class</input>
			<input type="checkbox" id="cb-writer-nsobject">NSObject</input>
			<input type="checkbox" id="cb-writer-argo">Argo</input>
		</div>		
		<a href="https://github.com/viteinfinite/json2swift"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
		<textarea id="source" cols="70" rows="20"></textarea>
		<br />
		<button onclick="javascript:convert()">Convert</button>
		<br />
		<pre><code class="swift" id="destination">...</code></pre>
	</body>
</html>
{'fraction_non_alphanumeric': 0.16992733370598098, 'fraction_numerical': 0.09334823923979876, 'mean_word_length': 5.56697247706422, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 10, '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': '2187100', 'n_tokens_mistral': 1586, 'n_tokens_neox': 1262, 'n_words': 154}