Ruby: a tiny JSON validator
I wrote this for checking syntax of the Chef configuration.
https://gist.github.com/3978212
And also I've configured Vim like this:
autocmd BufRead knife-edit-*.js
\ set filetype=javascript.json
\| setlocal makeprg=ruby\ $HOME/bin/jsonv.rb\ %
Written by Tacahiroy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#