This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Quick and easy way to convert from yaml to json with pretty format | |
# Usage: | |
# Example 1: | |
# | |
# # Explicitly give the output filename | |
# ./yaml_to_json.rb input_file/name.yaml outputfile/name.json | |
# | |
# Example 2: | |
# |