<commit_before>dojo.provide("dojox.secure.fromJson");

// Used with permission from M<NAME>uel of Google (has CCLA), from the json-sans-eval project:
// http://code.google.com/p/json-sans-eval/
//	<NAME> <<EMAIL>>



dojox.secure.fromJson = 
//	summary:
//		Parses a string of well-formed JSON text.
//	description:
//		Parses a string of well-formed JSON text. If the input is not well-formed, 
//		then behavior is undefined, but it is<commit_msg>Use native JSON if available<commit_after>dojo.provide("dojox.secure.fromJson");

// Used with permission from Mike Samuel of Google (has CCLA), from the json-sans-eval project:
// http://code.google.com/p/json-sans-eval/
//	<NAME> <<EMAIL>>



dojox.secure.fromJson = typeof JSON != "undefined" ? JSON.parse :  
//	summary:
//		Parses a string of well-formed JSON text.
//	description:
//		Parses a string of well-formed JSON text. If the input is not well-formed, 
//		then behavior is undefined, but it is
{'fraction_non_alphanumeric': 0.13688610240334378, 'fraction_numerical': 0.0, 'mean_word_length': 3.414746543778802, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '2440253', 'n_tokens_mistral': 329, 'n_tokens_neox': 320, 'n_words': 102}