Webmock includes its own JSON parser. Turns out it doesn't parse some valid JSON strings.
What's a good way to proceed here? Should I try to fix the JSON parser or would it be better to include a JSON dependency?
failing test for JSON parser
On further reflection: binary strings are not valid JSON. This is not a bug.
As you can see in the header of lib/webmock/util.json.rb it's a copied parser from Crack with date parsing removed. I don't mind updating it to the latest version from Crack (with date parsing removed :).