News for hackers. Stuff that matters.
Re:Transit – A format for conveying values between different... by nitrogen on Wednesday July 23, 2014 @11:32AM (#8074889)
If anyone finds JSON Schema in Ruby to be too slow, I developed a Ruby-based schema system that is much faster:

http://rubygems.org/gems/classy_hash

https://github.com/deseretbook/classy_hash

I wrote it for an internal backend system at a small ecommerce site with a large retail legacy.

Edit: Ruby Hashes (the base "language" used by Classy Hash) aren't easily serialized and shared, but if there's enough interest, it would be possible to compile most JSON Schema schemas to Classy Hash schemas.

Re:Transit – A format for conveying values between different... by alexatkeplar on Wednesday July 23, 2014 @02:04PM (#8075882)
Have you looked contracts.ruby (https://github.com/egonSchiele/contracts.ruby)? I'm sure you could overlap some code
Re:Transit – A format for conveying values between different... by nitrogen on Wednesday July 23, 2014 @02:09PM (#8075908)
Interesting. It looks like contracts.ruby does for method calls what Classy Hash aims to do for API data.