Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix detection for the json_gem adapter
* JSON::JSON_LOADED is also set by json/pure and so it is not enough to detect if the JSON native extension is loaded. * JSON::Ext is not enough either, because json_pure includes json/ext.rb. * JSON::Ext::Parser is only defined if the native extension is loaded so that is reliable. * Fixes #196 * See that issue for details.
- Loading branch information