Sha256: a8b07c4ebaa03315edecb58278519e68a7c1cbe90ab3a6db44da6be617a4ea89

Contents?: true

Size: 170 Bytes

Versions: 5

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module Grape
  if defined?(::MultiJson)
    Json = ::MultiJson
  else
    Json = ::JSON
    Json::ParseError = Json::ParserError
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-2.2.0 lib/grape/json.rb
grape-2.1.3 lib/grape/json.rb
grape-2.1.2 lib/grape/json.rb
grape-2.1.1 lib/grape/json.rb
grape-2.1.0 lib/grape/json.rb