<commit_before><?php

namespace kiwi;

class JsonFormatter implements FormatterInterface
{
    public static function make($value)
    {
        return json_encode($value);
    }

    public static function get($value)
    {
        return json_decode($value);
    }
}
<commit_msg>some more documentation<commit_after><?php

namespace kiwi;

class JsonFormatter implements FormatterInterface
{
    /**
     * Turn a resource into JSON.
     * @method make
     * @param  mixed $value
     * @return mixed
     */
    public static function make($value)
    {
        return json_encode($value);
    }

    /**
     * Translate JSON into a readable resource.
     * @method get
     * @param  mixed $value
     * @return mixed
     */
    public static function get($value)
    {
        return json_decode($value);
    }
}

{'fraction_non_alphanumeric': 0.09720534629404617, 'fraction_numerical': 0.0, 'mean_word_length': 2.4049586776859506, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4402479', 'n_tokens_mistral': 234, 'n_tokens_neox': 232, 'n_words': 65}