class ReeJson::FromJson

def call(object, **opts)

def call(object, **opts)
  options = DEFAULT_OPTIONS
    .merge(opts)
  Oj.load(object, options)
rescue ArgumentError, EncodingError, TypeError
  raise ParseJsonError.new
end