<commit_before>package haxed;

// don't like a separate file for this

//import hxjson2.JSON;

import haxed.Common;
import haxed.JSON;

class ConfigJson extends Config {
  public
  function new (j:String) {
    super();
    data = JSON.decodeString(j);
  }
}<commit_msg>return to old API<commit_after>package haxed;

// don't like a separate file for this

//import hxjson2.JSON;

import haxed.Common;
import haxed.JSON;

class ConfigJson extends Config {
  public
  function new (j:String) {
    super();
    data = JSON.decode(j);
  }
}
{'fraction_non_alphanumeric': 0.11152416356877323, 'fraction_numerical': 0.0037174721189591076, 'mean_word_length': 3.5677966101694913, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2097039', 'n_tokens_mistral': 191, 'n_tokens_neox': 187, 'n_words': 55}