Last Updated: February 25, 2016
·
912
· tacahiroy

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\ %