<commit_before><html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta charset="utf-8">
        <meta content="Golang json to struct" name="description">
        <meta content="go, golang, json, struct" name="keywords">
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
        <meta content="<NAME>" name="author">
        <link href="//netdna.bootstrapcdn.com/bootswatch/3.0.0/slate/bootstrap.min.css" media="screen" rel="stylesheet">
        <link href="//cdn.mervine.net/bootstrap/master.css" media="screen" rel="stylesheet">
        <style>
            .form-control { width: 100%; }
            textarea.form-control { height: 300px; }
        </style>
    </head>
    <body style="padding-top: 10px !important">
    <div class="container">
      <div class="navbar navbar-default navbar-top" style="margin-bottom: 0px !important">
        <div class="navbar-header">
          <button class="navbar-toggle" data-target=".navbar-collapse" data-toggle="collapse" type="button">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/">Home</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="">
              <a href="http://mervine.net/categories">Category List</a>
            </li>
            <li class="">
              <a href="http://mervine.net/projects">My Projects</a>
            </li>
            <li class="">
              <a href="http://mervine.net/notes">Notes</a>
            </li>
            <li class="">
              <a href="http://mervine.net/hacks">Hacks</a>
            </li>
            <li class="">
              <a href="http://mervine.net/quotes">Quotes</a>
            </li>
            <li class="">
              <a href="http://mervine.net/archive">Archives</a>
            </li>
          </ul>
            <form action="/search" class="navbar-form navbar-right" method="GET" role="search">
            <div class="form-group">
              <input class="form-control" name="q" placeholder="search" type="text">
            </div>
          </form>
          <ul class="nav navbar-nav navbar-right visible-xs">
            <li>
              <a href="http://twitter.com/merivnej">Twitter</a>
            </li>
            <li>
              <a href="http://linkedin.com/in/mervinej">Linkedin</a>
            </li>
            <li>
              <a href="http://github.com/jmervine">Github</a>
            </li>
            <li>
              <a href="http://www.gittip.com/jmervine">Gittip</a>
            </li>
          </ul>
        </div>
      </div>
      <div class="container">
        <div class="page-header" style="margin-top: 0px !important;">
          <img src="http://www.gravatar.com/avatar/ed808193b8c2c8516715816f90a005b2.jpg?s=75" style="padding:5px 15px 15px; float:left"><a href="http://mervine.net/">
            <h1>mervine.net</h1>
          </a><small>Lessons learned, code written, hacks, etc.</small>
        </div>
      </div>

        <div class="container main-body">
            <h3>Turn JSON in to a useful Go Struct.</h3>
            <h5>Raw JSON Input:</h5>
            <form method="POST" action="" class="form-group">
                <textarea class="form-control" name="json">{{.Json}}</textarea>
                <br />
                <input class="form-control btn btn-primary" type="submit" name="submit" value="generate" /><commit_msg>adding title<commit_after><html>
    <head>
        <title>Golang: Convert JSON to Struct</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta charset="utf-8">
        <meta content="Golang: Convert JSON to struct" name="description">
        <meta content="go, golang, json, struct" name="keywords">
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
        <meta content="<NAME>" name="author">
        <link href="//netdna.bootstrapcdn.com/bootswatch/3.0.0/slate/bootstrap.min.css" media="screen" rel="stylesheet">
        <link href="//cdn.mervine.net/bootstrap/master.css" media="screen" rel="stylesheet">
        <style>
            .form-control { width: 100%; }
            textarea.form-control { height: 300px; }
        </style>
    </head>
    <body style="padding-top: 10px !important">
    <div class="container">
      <div class="navbar navbar-default navbar-top" style="margin-bottom: 0px !important">
        <div class="navbar-header">
          <button class="navbar-toggle" data-target=".navbar-collapse" data-toggle="collapse" type="button">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/">Home</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="">
              <a href="http://mervine.net/categories">Category List</a>
            </li>
            <li class="">
              <a href="http://mervine.net/projects">My Projects</a>
            </li>
            <li class="">
              <a href="http://mervine.net/notes">Notes</a>
            </li>
            <li class="">
              <a href="http://mervine.net/hacks">Hacks</a>
            </li>
            <li class="">
              <a href="http://mervine.net/quotes">Quotes</a>
            </li>
            <li class="">
              <a href="http://mervine.net/archive">Archives</a>
            </li>
          </ul>
            <form action="/search" class="navbar-form navbar-right" method="GET" role="search">
            <div class="form-group">
              <input class="form-control" name="q" placeholder="search" type="text">
            </div>
          </form>
          <ul class="nav navbar-nav navbar-right visible-xs">
            <li>
              <a href="http://twitter.com/merivnej">Twitter</a>
            </li>
            <li>
              <a href="http://linkedin.com/in/mervinej">Linkedin</a>
            </li>
            <li>
              <a href="http://github.com/jmervine">Github</a>
            </li>
            <li>
              <a href="http://www.gittip.com/jmervine">Gittip</a>
            </li>
          </ul>
        </div>
      </div>
      <div class="container">
        <div class="page-header" style="margin-top: 0px !important;">
          <img src="http://www.gravatar.com/avatar/ed808193b8c2c8516715816f90a005b2.jpg?s=75" style="padding:5px 15px 15px; float:left"><a href="http://mervine.net/">
            <h1>mervine.net</h1>
          </a><small>Lessons learned, code written, hacks, etc.</small>
        </div>
      </div>

        <div class="container main-body">
            <h3>Golang: Convert JSON in to a useful struct.</h3>
            <h5>Raw JSON Input:</h5>
            <form method="POST" action="" class="form-group">
                <textarea class="form-control" name="json">{{.Json}}</textarea>
                <br />
                <input class="form-control btn btn-primary" type="submit" name="submit" value="generate" />
{'fraction_non_alphanumeric': 0.178003291278113, 'fraction_numerical': 0.014810751508502468, 'mean_word_length': 1.9277398635086311, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1109163', 'n_tokens_mistral': 2339, 'n_tokens_neox': 2213, 'n_words': 417}