vimeo icon indicating copy to clipboard operation
vimeo copied to clipboard

Crack::JSON fails on some JSON

Open nicholaides opened this issue 13 years ago • 1 comments

When getting all videos via the advanced API, Psych (used by Crack) chokes on some of the JSON coming in.

To fix it, I replaced Crack::JSON with JSON form the json gem.

BTW, I'm on Ruby 1.9.3.

nicholaides avatar Nov 19 '11 22:11 nicholaides

Oh, and Crack should be in the gemspec as a requirement if it's going to be used.

nicholaides avatar Nov 19 '11 22:11 nicholaides