<commit_before>Overview
========

From time to time I have to look at JSON formated configuration files. 
Doing this hurts my eyes!  To make my life slighlty easier I can convert
them to the YAML layout instead. 

Goal 
====
Take two JSON files and compare them to see what there differences are.
If you were to diff the example files you would find see they are different.
Different internal layout but they contain the same information. (I just 
copied different blocks around).

I want to diff either the JSON or the YAML and find the section or sections 
that have changed or have been added.

Why
---

> * Opscode chef-server stores data bags in json format.

> * You can edit a chef-server data bags file in a local editor. The import that 
   with the knife command into the chef-server. You have a physical file.

> * You can edit the chef-server data bags directlry with knife in you favorite
>   editor. When you save the tempory file it is imported into the chef-server.

> * What if <NAME> edits the chef-server data bag directly with knife and 
>   Admin Jill edits the same data bag locally and pushes it to the server.
<commit_msg>What file I have here<commit_after>Overview
========

From time to time I have to look at JSON formated configuration files. 
Doing this hurts my eyes!  To make my life slighlty easier I can convert
them to the YAML layout instead. 

What is in here
===============

  * json2pretty 
     Takes a  hard to read optimized one line of JSON and makes it pretty.
  * json2yaml
     Takes a JSON file and outputs it to STDOUT in YAML format
  * yaml2json
     Takes a YAML file and outputs it to STDOUT in JSON format
  * yaml2json-ugly
     Takes a YAML file and outputs it to STDOUT in that hard to read  but 
     optimized crap

Goal 
====
Take two JSON files and compare them to see what there differences are.
If you were to diff the example files you would find see they are different.
Different internal layout but they contain the same information. (I just 
copied different blocks around).

I want to diff either the JSON or the YAML and find the section or sections 
that have changed or have been added.

Why
---

> * Opscode chef-server stores data bags in json format.

> * You can edit a chef-server data bags file in a local editor. The import that 
   with the knife command into the chef-server. You have a physical file.

> * You can edit the chef-server data bags directlry with knife in you favorite
>   editor. When you save the tempory file it is imported into the chef-server.

> * What if <NAME> edits the chef-server data bag directly with knife and 
>   Admin Jill edits the same data bag locally and pushes it to the server.

{'fraction_non_alphanumeric': 0.04714179658500371, 'fraction_numerical': 0.0014847809948032665, 'mean_word_length': 3.418032786885246, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '3966996', 'n_tokens_mistral': 743, 'n_tokens_neox': 711, 'n_words': 445}