lib/json/add/dry/monads/maybe.rb in dry-monads-1.3.4 vs lib/json/add/dry/monads/maybe.rb in dry-monads-1.3.5
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: false
+
require 'json' unless defined?(::JSON::JSON_LOADED) && ::JSON::JSON_LOADED
require 'dry/monads'
# Inspired by standard library implementation